Skip to content

Commit

Permalink
Include windows.h only when compiling Duktape
Browse files Browse the repository at this point in the history
  • Loading branch information
svaarala committed Aug 30, 2015
1 parent 8bc77c5 commit 859f88d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/header-snippets/platform2.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,9 @@
* there is no platform specific date parsing/formatting but there is still
* the ISO 8601 standard format.
*/
#if defined(DUK_COMPILING_DUKTAPE)
#include <windows.h>
#endif
#include <limits.h>
#elif defined(DUK_F_FLASHPLAYER)
/* Crossbridge */
Expand Down

0 comments on commit 859f88d

Please sign in to comment.