[USETUP] Make the "SpApiSup" files usable from e.g. the GUI setup.

This commit is contained in:
Hermès Bélusca-Maïto
2024-02-08 19:08:39 +01:00
parent 864aed6bcd
commit bff31569e6
3 changed files with 10 additions and 0 deletions
+6
View File
@@ -8,7 +8,9 @@
* CSH 15/08-2003 Created
*/
#ifndef _USETUP_PCH_
#include "usetup.h"
#endif
#define Z_SOLO
#include <zlib.h>
@@ -136,6 +138,8 @@ typedef struct _CFDATA
/* FUNCTIONS ****************************************************************/
#if !defined(_INC_MALLOC) && !defined(_INC_STDLIB)
/* Needed by zlib, but we don't want the dependency on the CRT */
void *__cdecl
malloc(size_t size)
@@ -155,6 +159,8 @@ calloc(size_t nmemb, size_t size)
return (void *)RtlAllocateHeap(ProcessHeap, HEAP_ZERO_MEMORY, nmemb * size);
}
#endif // !_INC_MALLOC && !_INC_STDLIB
/* Codecs */
+2
View File
@@ -27,7 +27,9 @@
/* INCLUDES *****************************************************************/
#ifndef _USETUP_PCH_
#include "usetup.h"
#endif
#define NDEBUG
#include <debug.h>
+2
View File
@@ -27,7 +27,9 @@
/* INCLUDES ******************************************************************/
#ifndef _USETUP_PCH_
#include "usetup.h"
#endif
#define NDEBUG
#include <debug.h>