aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/glu
diff options
context:
space:
mode:
authorGravatar senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-01-19 19:59:22 +0000
committerGravatar senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-01-19 19:59:22 +0000
commit7288c49cf245ad738bc3ad9c7c83d8c993351c43 (patch)
tree32341b3c6cba24552f36d8c23d48b3360c22ad58 /third_party/glu
parent4f3c253ececec7af16b8eb7c533cba31f255c953 (diff)
Fix a warning in libtess in Release builds; define NDEBUG in Release on all
Diffstat (limited to 'third_party/glu')
-rw-r--r--third_party/glu/gluos.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/third_party/glu/gluos.h b/third_party/glu/gluos.h
index 5da46a57b7..e94c67989a 100644
--- a/third_party/glu/gluos.h
+++ b/third_party/glu/gluos.h
@@ -71,7 +71,9 @@ typedef void GLvoid;
#define __gl_edgeSign Sk__gl_edgeSign
#define __gl_memInit Sk__gl_memInit
#define __gl_meshAddEdgeVertex Sk__gl_meshAddEdgeVertex
+#ifndef NDEBUG
#define __gl_meshCheckMesh Sk__gl_meshCheckMesh
+#endif
#define __gl_meshConnect Sk__gl_meshConnect
#define __gl_meshDelete Sk__gl_meshDelete
#define __gl_meshDeleteMesh Sk__gl_meshDeleteMesh