From 7aeeda0f3ca50cca14b757902fc3eb526eb41bc2 Mon Sep 17 00:00:00 2001 From: Steven Edwards Date: Tue, 1 Jun 2004 01:13:29 +0000 Subject: [PATCH] Fix building and use W32API Travis Snoozy svn path=/trunk/; revision=9578 --- rosapps/regsvr32/makefile | 4 +++- rosapps/regsvr32/regsvr32.c | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/rosapps/regsvr32/makefile b/rosapps/regsvr32/makefile index e92a8d4d837..4cad9c50dd2 100644 --- a/rosapps/regsvr32/makefile +++ b/rosapps/regsvr32/makefile @@ -1,4 +1,4 @@ -# $Id: makefile,v 1.2 2002/01/26 01:37:35 sedwards Exp $ +# $Id: makefile,v 1.3 2004/06/01 01:13:29 sedwards Exp $ # # Jurgen Van Gael [jurgen.vangael@student.kuleuven.ac.be] # @@ -17,6 +17,8 @@ TARGET_NAME = regsvr32 TARGET_SDKLIBS = kernel32.a +TARGET_CFLAGS = -D__USE_W32API + TARGET_OBJECTS = $(TARGET_NAME).o include $(PATH_TO_TOP)/rules.mak diff --git a/rosapps/regsvr32/regsvr32.c b/rosapps/regsvr32/regsvr32.c index bdf570a78ff..cc69a193fa5 100644 --- a/rosapps/regsvr32/regsvr32.c +++ b/rosapps/regsvr32/regsvr32.c @@ -36,7 +36,7 @@ Cambridge, MA 02139, USA. // #include #include -#include +#include typedef HRESULT (*DLLREGISTER) (void); typedef HRESULT (*DLLUNREGISTER) (void);