Commit ef823dd5 authored by José Fonseca's avatar José Fonseca

util: Fix compiler errors in the release build of C++ sources.

parent 8156c30a
......@@ -39,7 +39,12 @@
#include "pipe/p_debug.h"
/* Define ENOMEM for WINCE */
#ifdef __cplusplus
extern "C" {
#endif
/* Define ENOMEM for WINCE */
#if (_WIN32_WCE < 600)
#ifndef ENOMEM
#define ENOMEM 12
......@@ -47,7 +52,6 @@
#endif
#if defined(PIPE_SUBSYSTEM_WINDOWS_DISPLAY) && defined(DEBUG)
/* memory debugging */
......@@ -220,4 +224,9 @@ mem_dup(const void *src, uint size)
#ifdef __cplusplus
}
#endif
#endif /* U_MEMORY_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment