Permalink
Browse files

[win32] check WINVER, see TT#1846

  • Loading branch information...
1 parent 34f29c2 commit a8192ac19b7f338117a1ac1c355219cb4a12ba5c @fperrad fperrad committed Nov 15, 2010
Showing with 6 additions and 1 deletion.
  1. +6 −1 config/gen/platform/win32/misc.h
@@ -1,7 +1,12 @@
/*
- * Copyright (C) 2004-2007, Parrot Foundation.
+ * Copyright (C) 2004-2010, Parrot Foundation.
*/
+#include <w32api.h>
+#if WINVER < Windows2000
+# error Minimum requirement for Parrot on Windows is Windows 2000 - might want to check windef.h
+#endif
+
#ifndef PARROT_PLATFORM_WIN32_MISC_H_GUARD
#define PARROT_PLATFORM_WIN32_MISC_H_GUARD

0 comments on commit a8192ac

Please sign in to comment.