Michael Stefaniuc : services/tests: Compile with -D__WINESRC__.
Alexandre Julliard
julliard at winehq.org
Wed Oct 16 14:25:49 CDT 2013
Module: wine
Branch: master
Commit: ba3f11023f5b0218f37e5cddd9720088fceea631
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ba3f11023f5b0218f37e5cddd9720088fceea631
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Tue Oct 15 22:08:39 2013 +0200
services/tests: Compile with -D__WINESRC__.
---
programs/services/tests/Makefile.in | 1 -
programs/services/tests/service.c | 3 ++-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/programs/services/tests/Makefile.in b/programs/services/tests/Makefile.in
index 2facc32..8a49219 100644
--- a/programs/services/tests/Makefile.in
+++ b/programs/services/tests/Makefile.in
@@ -1,6 +1,5 @@
TESTDLL = services.exe
IMPORTS = advapi32
-EXTRADEFS = -U__WINESRC__ -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -DWIDL_C_INLINE_WRAPPERS
C_SRCS = \
service.c
diff --git a/programs/services/tests/service.c b/programs/services/tests/service.c
index a2cd0b5..8511b92 100644
--- a/programs/services/tests/service.c
+++ b/programs/services/tests/service.c
@@ -16,7 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include <windows.h>
+#include <windef.h>
+#include <winsvc.h>
#include <stdio.h>
#include "wine/test.h"
More information about the wine-cvs
mailing list