summaryrefslogtreecommitdiffstats
path: root/libdimension/tests/tests.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2014-06-24 16:21:58 -0400
committerTavian Barnes <tavianator@tavianator.com>2014-06-24 16:22:31 -0400
commit537b7695c26b9ad83ccc13b68c78a2fb27545d7e (patch)
treea801d360354343b92600df3e3eb255ff87ab8487 /libdimension/tests/tests.h
parent77237a2e22acfc3f8a028cd1a4d63b602cbbf45e (diff)
downloaddimension-537b7695c26b9ad83ccc13b68c78a2fb27545d7e.tar.xz
Fix some warnings found by clang.
Diffstat (limited to 'libdimension/tests/tests.h')
-rw-r--r--libdimension/tests/tests.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdimension/tests/tests.h b/libdimension/tests/tests.h
index afa7c11..2ce2f01 100644
--- a/libdimension/tests/tests.h
+++ b/libdimension/tests/tests.h
@@ -1,5 +1,5 @@
/*************************************************************************
- * Copyright (C) 2009-2012 Tavian Barnes <tavianator@tavianator.com> *
+ * Copyright (C) 2009-2014 Tavian Barnes <tavianator@tavianator.com> *
* *
* This file is part of The Dimension Test Suite. *
* *
@@ -23,7 +23,7 @@
#include "dimension.h"
#include <check.h>
-#ifdef __cplusplus
+#if DMNSN_CXX
// We've been included from a C++ file; mark everything here as extern "C"
extern "C" {
#endif
@@ -122,7 +122,7 @@ void dmnsn_delete_display(dmnsn_display *display);
// Flush the GL buffers
void dmnsn_display_flush(dmnsn_display *display);
-#ifdef __cplusplus
+#if DMNSN_CXX
}
#endif