]> gitweb.factorcode.org Git - factor.git/commitdiff
vm: fix COMPILE-TIME to use __DATE__ and __TIME__
authorJohn Benediktsson <mrjbq7@gmail.com>
Thu, 22 Mar 2018 17:41:34 +0000 (10:41 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Thu, 22 Mar 2018 17:41:34 +0000 (10:41 -0700)
Those are "time the preprocessor is run", not "date and time of the last
modification of the current source file" like __TIMESTAMP__.

vm/master.hpp

index 8a3bcf43676afd341c64ac92d7d946c12a3fbc0f..4c87f74b97e3845a224a49a1734967ce255e8070 100644 (file)
@@ -53,7 +53,7 @@
 #endif
 
 // Record compilation time
-#define FACTOR_COMPILE_TIME __TIMESTAMP__
+#define FACTOR_COMPILE_TIME __DATE__ " " __TIME__
 
 // Detect target CPU type
 #if defined(__arm__)