Skip to content

Commit

Permalink
define windows if not already defined
Browse files Browse the repository at this point in the history
  • Loading branch information
kost committed Aug 31, 2014
1 parent 708c48d commit 30c8170
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/alien.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@

#include "config.h"

#ifdef WIN32
# ifndef WINDOWS
# define WINDOWS
# endif
#endif

#ifdef WINDOWS
#define _CRT_SECURE_NO_DEPRECATE 1
#include <windows.h>
Expand Down

0 comments on commit 30c8170

Please sign in to comment.