mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[USETUP] Make the "SpApiSup" files usable from e.g. the GUI setup.
This commit is contained in:
parent
864aed6bcd
commit
bff31569e6
3 changed files with 10 additions and 0 deletions
|
@ -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 */
|
||||
|
||||
|
|
|
@ -27,7 +27,9 @@
|
|||
|
||||
/* INCLUDES *****************************************************************/
|
||||
|
||||
#ifndef _USETUP_PCH_
|
||||
#include "usetup.h"
|
||||
#endif
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
|
|
@ -27,7 +27,9 @@
|
|||
|
||||
/* INCLUDES ******************************************************************/
|
||||
|
||||
#ifndef _USETUP_PCH_
|
||||
#include "usetup.h"
|
||||
#endif
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
|
Loading…
Reference in a new issue