summaryrefslogtreecommitdiff
path: root/src/utils/cpu.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-23 22:01:44 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-23 22:01:44 +0300
commit3c404128c4669a1f4f190e20a89553677717fc50 (patch)
tree2db4e5031089c800c4e00fd6244e578f44a7c910 /src/utils/cpu.cpp
parent89b267d6d73bbc59f7c313b8a22b97fbb27f99a8 (diff)
downloadplus-3c404128c4669a1f4f190e20a89553677717fc50.tar.gz
plus-3c404128c4669a1f4f190e20a89553677717fc50.tar.bz2
plus-3c404128c4669a1f4f190e20a89553677717fc50.tar.xz
plus-3c404128c4669a1f4f190e20a89553677717fc50.zip
Add missing comments into defines.
Diffstat (limited to 'src/utils/cpu.cpp')
-rw-r--r--src/utils/cpu.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/utils/cpu.cpp b/src/utils/cpu.cpp
index 672cc115f..12cc8ceab 100644
--- a/src/utils/cpu.cpp
+++ b/src/utils/cpu.cpp
@@ -27,7 +27,8 @@
// nothing
#elif defined(__linux__) || defined(__linux)
#include "utils/stringutils.h"
-#endif
+#endif // (defined(__amd64__) || defined(__i386__)) && defined(__GNUC__)
+ // && (GCC_VERSION >= 40800) && !defined(ANDROID)
#include "debug.h"
@@ -91,9 +92,11 @@ void Cpu::detect()
}
fclose(file);
logger->log("cpu features was not detected");
-#else
+#else // OTHER
+
logger->log("cpu features not supported");
-#endif
+#endif // (defined(__amd64__) || defined(__i386__)) && defined(__GNUC__)
+ // && (GCC_VERSION >= 40800) && !defined(ANDROID)
}
void Cpu::printFlags()