summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2021-03-13 17:51:27 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2021-03-13 17:51:27 -0500
commit75b9fbc92fbe5edbf8dbdd647585d3d94adb33d1 (patch)
treef9daad0d9dd00ae0d5c0c78a9987491af5e5553d /include
parentd87e2e2fc274b3f244f74b5fcb38e6fb2fbb40d5 (diff)
check __CLION_IDE__ predefine in global.h
Diffstat (limited to 'include')
-rw-r--r--include/global.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/global.h b/include/global.h
index dbe913595..fba89427c 100644
--- a/include/global.h
+++ b/include/global.h
@@ -16,7 +16,7 @@
#define asm_comment(x) asm volatile("@ -- " x " -- ")
#define asm_unified(x) asm(".syntax unified\n" x "\n.syntax divided")
-#if defined (__APPLE__) || defined (__CYGWIN__)
+#if defined (__APPLE__) || defined (__CYGWIN__) || defined(__CLION_IDE__)
// Get the IDE to stfu
// We define it this way to fool preproc.