Skip to content

Commit

Permalink
[win32] w32api.h is only with MinGW
Browse files Browse the repository at this point in the history
  • Loading branch information
fperrad committed Nov 15, 2010
1 parent c414af3 commit 2d9999d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions config/gen/platform/win32/misc.h
Expand Up @@ -2,9 +2,11 @@
* Copyright (C) 2004-2010, Parrot Foundation.
*/

#include <windows.h>
#if WINVER < Windows2000
# error Minimum requirement for Parrot on Windows is Windows 2000 - might want to check windef.h
#ifdef __MINGW32__
# include <w32api.h>
# if WINVER < Windows2000
# error Minimum requirement for Parrot on Windows is Windows 2000 - might want to check windef.h
# endif
#endif

#ifndef PARROT_PLATFORM_WIN32_MISC_H_GUARD
Expand Down

0 comments on commit 2d9999d

Please sign in to comment.