diff options
author | José Fonseca <[email protected]> | 2008-08-19 21:33:59 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2008-08-19 21:35:06 +0100 |
commit | 9e3aaa50483b61d644306d483feed564c69018bf (patch) | |
tree | f7613eb974f7dc87a7f3ef13593a220884f59300 /src/gallium/include/pipe | |
parent | d7f8b95e097121a8c33332f920115795853d6ad7 (diff) |
gallium: WinCE build fixes.
Diffstat (limited to 'src/gallium/include/pipe')
-rw-r--r-- | src/gallium/include/pipe/p_util.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_util.h b/src/gallium/include/pipe/p_util.h index b4ab70a3fc8..473a8d94abb 100644 --- a/src/gallium/include/pipe/p_util.h +++ b/src/gallium/include/pipe/p_util.h @@ -99,6 +99,12 @@ __inline double __cdecl atan2(double val) #include <stdarg.h> #endif + /* Define ENOMEM for WINCE */ +#if (_WIN32_WCE < 600) +#ifndef ENOMEM +#define ENOMEM 12 +#endif +#endif #ifdef __cplusplus extern "C" { |