-# $Id: Makefile,v 1.10 2004/08/01 23:27:55 navaraf Exp $
+# $Id: Makefile,v 1.11 2004/08/20 15:19:38 navaraf Exp $
PATH_TO_TOP = ../..
objs/*.o objs/libfreetype.a:
ifeq ($(DBG), 1)
- @$(MAKE) -f Makefile.freetype CFLAGS="-c -g -Wall" CC:=$(CC)
+ @$(MAKE) -f Makefile.freetype CFLAGS="-c -g -Wall -fno-strict-aliasing" CC:=$(CC)
else
- @$(MAKE) -f Makefile.freetype CFLAGS="-c -Wall -O3" CC:=$(CC)
+ @$(MAKE) -f Makefile.freetype CFLAGS="-c -Wall -O3 -fno-strict-aliasing" CC:=$(CC)
endif
# Automatic dependency tracking
sizeof(PIPHLP_RES_INFO) );
if( InfoPtr ) {
InfoPtr->riCount = 0;
- InfoPtr->riAddressList = (LPSOCKADDR)0;
+ InfoPtr->riAddressList = NULL;
}
return InfoPtr;
/* setup an exception block for nested exceptions */
//nested_frame.frame.Handler = catch_function_nested_handler;
- nested_frame.frame.handler = catch_function_nested_handler;
- nested_frame.prev_rec = thread_data->exc_record;
+ nested_frame.frame.handler = (PEXCEPTION_HANDLER)catch_function_nested_handler;
+ nested_frame.prev_rec = thread_data->exc_record;
nested_frame.cxx_frame = frame;
nested_frame.descr = descr;
nested_frame.trylevel = nested_trylevel + 1;
static inline BOOL msvcrt_free_tls(void);
//const char* msvcrt_get_reason(DWORD reason) WINE_UNUSED;
-typedef void* (*MSVCRT_malloc_func)(MSVCRT_size_t);
+typedef void* (*MSVCRT_malloc_func)(size_t);
char* MSVCRT___unDName(char *,const char*,int,MSVCRT_malloc_func,MSVCRT_free_func,unsigned short int);
char* MSVCRT___unDNameEx(char *,const char*,int,MSVCRT_malloc_func,MSVCRT_free_func,void *,unsigned short int);
WINE_DEFAULT_DEBUG_CHANNEL(msvcrt);
+void _amsg_exit (int errnum);
+
/********************************************************************/
typedef struct {
TARGET_NORC := yes
TARGET_DEFONLY := yes
TARGET_OBJECTS := notifyhook.o
+TARGET_LFLAGS := -nostartfiles
TARGET_BASE = $(TARGET_BASE_LIB_NOTIFYHOOK)
include $(PATH_TO_TOP)/rules.mak
/* Allocate memory with EngAllocMem */
pmem1 = 0;
AllocSize1 = 1024;
- AllocTag1 = "zyxD";
+ AllocTag1 = TAG('D','x','y','z');
pmem1 = EngAllocMem(FL_ZERO_MEMORY, AllocSize1, AllocTag1);
FAIL_IF_EQUAL(pmem1, 0, "EngAllocMem() for pmem1 failed");
/* Allocate memory with EngAllocMem */
pmem2 = 0;
AllocSize2 = 1024;
- AllocTag2 = "zyxD";
+ AllocTag2 = TAG('D','x','y','z');
pmem2 = EngAllocUserMem(AllocSize2, AllocTag2);
FAIL_IF_EQUAL(pmem1, 0, "EngAllocUserMem() for pmem2 failed");