mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 17:14:41 +00:00
Fix building and use W32API
Travis Snoozy <ai2097@yahoo.com> svn path=/trunk/; revision=9578
This commit is contained in:
parent
d2a5a8678b
commit
7aeeda0f3c
2 changed files with 4 additions and 2 deletions
|
@ -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]
|
# Jurgen Van Gael [jurgen.vangael@student.kuleuven.ac.be]
|
||||||
#
|
#
|
||||||
|
@ -17,6 +17,8 @@ TARGET_NAME = regsvr32
|
||||||
|
|
||||||
TARGET_SDKLIBS = kernel32.a
|
TARGET_SDKLIBS = kernel32.a
|
||||||
|
|
||||||
|
TARGET_CFLAGS = -D__USE_W32API
|
||||||
|
|
||||||
TARGET_OBJECTS = $(TARGET_NAME).o
|
TARGET_OBJECTS = $(TARGET_NAME).o
|
||||||
|
|
||||||
include $(PATH_TO_TOP)/rules.mak
|
include $(PATH_TO_TOP)/rules.mak
|
||||||
|
|
|
@ -36,7 +36,7 @@ Cambridge, MA 02139, USA.
|
||||||
//
|
//
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <ole32\olectl.h>
|
#include <olectl.h>
|
||||||
|
|
||||||
typedef HRESULT (*DLLREGISTER) (void);
|
typedef HRESULT (*DLLREGISTER) (void);
|
||||||
typedef HRESULT (*DLLUNREGISTER) (void);
|
typedef HRESULT (*DLLUNREGISTER) (void);
|
||||||
|
|
Loading…
Reference in a new issue