Skip to content

Commit

Permalink
Removed redundant #defines for -D_WIN32 case
Browse files Browse the repository at this point in the history
  • Loading branch information
cpq committed Oct 15, 2014
1 parent f059e41 commit 0af5502
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mongoose.c
Original file line number Diff line number Diff line change
Expand Up @@ -1261,14 +1261,13 @@ void ns_mgr_free(struct ns_mgr *s) {
#else
#define INT64_FMT "lld"
#endif
#define stat(x, y) mg_stat((x), (y))
#define fopen(x, y) mg_fopen((x), (y))
#define open(x, y, z) mg_open((x), (y), (z))
#define flockfile(x) ((void) (x))
#define funlockfile(x) ((void) (x))
typedef struct _stati64 file_stat_t;
typedef HANDLE process_id_t;

#else ////////////// UNIX specific defines and includes

#include <dirent.h>
#include <dlfcn.h>
#include <inttypes.h>
Expand Down

0 comments on commit 0af5502

Please sign in to comment.