build with w32api

svn path=/trunk/; revision=10518
This commit is contained in:
Steven Edwards 2004-08-13 23:31:36 +00:00
parent b5ba0a23cf
commit e2ebe8412b
3 changed files with 6 additions and 2 deletions

View file

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.2 2004/08/12 15:41:36 weiden Exp $ # $Id: Makefile,v 1.3 2004/08/13 23:31:12 sedwards Exp $
PATH_TO_TOP = ../../.. PATH_TO_TOP = ../../..
@ -12,6 +12,7 @@ TARGET_BASE = 0x71c10000
TARGET_CFLAGS = \ TARGET_CFLAGS = \
-I./include \ -I./include \
-D__USE_W32API \
-DDEBUG \ -DDEBUG \
-Wall \ -Wall \
-Werror \ -Werror \

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/ */
/* $Id: libsky.c,v 1.2 2004/08/12 15:41:36 weiden Exp $ /* $Id: libsky.c,v 1.3 2004/08/13 23:31:12 sedwards Exp $
* *
* PROJECT: SkyOS library * PROJECT: SkyOS library
* FILE: lib/libsky/libsky.c * FILE: lib/libsky/libsky.c
@ -25,6 +25,7 @@
* UPDATE HISTORY: * UPDATE HISTORY:
* 08/12/2004 Created * 08/12/2004 Created
*/ */
#include <windows.h> #include <windows.h>
/* #define NDEBUG */ /* #define NDEBUG */
#include "libsky.h" #include "libsky.h"

View file

@ -1,6 +1,8 @@
#ifndef __LIBSKY_H #ifndef __LIBSKY_H
#define __LIBSKY_H #define __LIBSKY_H
void __cdecl DbgPrint(char *, ...);
#ifdef DEBUG #ifdef DEBUG
# ifdef NDEBUG # ifdef NDEBUG
# define DBG(...) # define DBG(...)