Windows: Add support to build as a DLL under windows

This commit is contained in:
Ronnie Sahlberg
2011-08-31 13:11:43 +10:00
parent 9f724b34f2
commit c3d3123981
18 changed files with 417 additions and 119 deletions

View File

@@ -23,9 +23,13 @@
#ifndef MD5_H
#define MD5_H
#if defined(WIN32)
#else
#include <netinet/in.h>
#endif
#include <string.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <stdint.h>
#if (__BYTE_ORDER == __BIG_ENDIAN)
# define WORDS_BIGENDIAN 1