2010-12-27 12:25:47 -08:00
|
|
|
# HG changeset patch
|
2011-01-29 19:31:21 -08:00
|
|
|
# Parent 3f4e2a35c49bb865018798a76b62c169d8e3537b
|
2010-12-27 12:25:47 -08:00
|
|
|
diff --git a/gfx/angle/src/compiler/osinclude.h b/gfx/angle/src/compiler/osinclude.h
|
|
|
|
--- a/gfx/angle/src/compiler/osinclude.h
|
|
|
|
+++ b/gfx/angle/src/compiler/osinclude.h
|
2011-01-29 19:31:21 -08:00
|
|
|
@@ -7,17 +7,19 @@
|
|
|
|
#ifndef __OSINCLUDE_H
|
|
|
|
#define __OSINCLUDE_H
|
|
|
|
|
|
|
|
//
|
|
|
|
// This file contains contains os-specific datatypes and
|
2010-12-27 12:25:47 -08:00
|
|
|
// declares any os-specific functions.
|
|
|
|
//
|
|
|
|
|
|
|
|
-#if defined(_WIN32) || defined(_WIN64)
|
|
|
|
+#if defined(ANGLE_USE_NSPR)
|
|
|
|
+/* no need to define anything when using NSPR */
|
|
|
|
+#elif defined(_WIN32) || defined(_WIN64)
|
|
|
|
#define ANGLE_OS_WIN
|
|
|
|
#elif defined(__APPLE__) || defined(__linux__) || \
|
|
|
|
defined(__FreeBSD__) || defined(__OpenBSD__) || \
|
|
|
|
defined(__sun)
|
2011-01-29 19:31:21 -08:00
|
|
|
#define ANGLE_OS_POSIX
|
|
|
|
#else
|
|
|
|
#error Unsupported platform.
|
|
|
|
#endif
|