]>
git.saurik.com Git - wxWidgets.git/blob - contrib/src/xrc/expat/xmltok/xmldef.h
2 Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
3 See the file copying.txt for copying permission.
10 #define WIN32_LEAN_AND_MEAN
14 #define malloc(x) HeapAlloc(GetProcessHeap(), 0, (x))
15 #define calloc(x, y) HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, (x)*(y))
16 #define free(x) HeapFree(GetProcessHeap(), 0, (x))
17 #define realloc(x, y) HeapReAlloc(GetProcessHeap(), 0, x, y)
18 #define abort() /* as nothing */
20 #else /* not XML_WINLIB */
24 #endif /* not XML_WINLIB */
26 /* This file can be used for any definitions needed in
27 particular environments. */
29 /* Mozilla specific defines */
34 #define malloc(x) PR_Malloc((size_t)(x))
35 #define realloc(x, y) PR_Realloc((x), (size_t)(y))
36 #define calloc(x, y) PR_Calloc((x),(y))
37 #define free(x) PR_Free(x)
38 #if PR_BYTES_PER_INT != 4
42 /* Enable Unicode string processing in expat. */
47 /* Enable external parameter entity parsing in expat */
52 #endif /* MOZILLA_CLIENT */