summaryrefslogtreecommitdiff
path: root/libkms/libkms.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkms/libkms.h')
-rw-r--r--libkms/libkms.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libkms/libkms.h b/libkms/libkms.h
index c00b1597..930a2bfc 100644
--- a/libkms/libkms.h
+++ b/libkms/libkms.h
@@ -29,7 +29,7 @@
#ifndef _LIBKMS_H_
#define _LIBKMS_H_
-#if defined(__cplusplus) || defined(c_plusplus)
+#if defined(__cplusplus)
extern "C" {
#endif
@@ -75,7 +75,7 @@ int kms_bo_map(struct kms_bo *bo, void **out);
int kms_bo_unmap(struct kms_bo *bo);
int kms_bo_destroy(struct kms_bo **bo);
-#if defined(__cplusplus) || defined(c_plusplus)
+#if defined(__cplusplus)
};
#endif