Module: wine Branch: master Commit: 4904c807d89466bd770f74dd447e893861e8abe2 URL: http://source.winehq.org/git/wine.git/?a=commit;h=4904c807d89466bd770f74dd44...
Author: Alexandre Julliard julliard@winehq.org Date: Tue Jul 8 21:29:28 2008 +0200
wine/test.h: Don't allow to use config.h in tests.
---
include/wine/test.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/include/wine/test.h b/include/wine/test.h index f3de956..02fc391 100644 --- a/include/wine/test.h +++ b/include/wine/test.h @@ -26,6 +26,9 @@ #include <windef.h> #include <winbase.h>
+#ifdef __WINE_CONFIG_H +#error config.h should not be used in Wine tests +#endif #ifdef __WINE_WINE_LIBRARY_H #error wine/library.h should not be used in Wine tests #endif