mirror of
https://github.com/reactos/reactos.git
synced 2026-07-04 16:04:21 +08:00
Fix building and use W32API
Travis Snoozy <ai2097@yahoo.com> svn path=/trunk/; revision=9578
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -36,7 +36,7 @@ Cambridge, MA 02139, USA.
|
||||
//
|
||||
#include <stdio.h>
|
||||
#include <windows.h>
|
||||
#include <ole32\olectl.h>
|
||||
#include <olectl.h>
|
||||
|
||||
typedef HRESULT (*DLLREGISTER) (void);
|
||||
typedef HRESULT (*DLLUNREGISTER) (void);
|
||||
|
||||
Reference in New Issue
Block a user