summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLuke Yeager <luke.yeager@gmail.com>2016-01-22 15:30:35 -0800
committerLuke Yeager <luke.yeager@gmail.com>2016-01-22 16:55:27 -0800
commit67b497d4ec70018b168639df1e4342f78fb44bb0 (patch)
tree8d0b4be356f2974c2918d777fa3e8be3bc6e31e4 /include
parenta7ac8bc02fd08161a6f4462d61293f330b43751b (diff)
downloadcaffe-67b497d4ec70018b168639df1e4342f78fb44bb0.tar.gz
caffe-67b497d4ec70018b168639df1e4342f78fb44bb0.tar.bz2
caffe-67b497d4ec70018b168639df1e4342f78fb44bb0.zip
Version 1.0.0-rc3
Diffstat (limited to 'include')
-rw-r--r--include/caffe/common.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/caffe/common.hpp b/include/caffe/common.hpp
index 1df6b9a1..6b902a42 100644
--- a/include/caffe/common.hpp
+++ b/include/caffe/common.hpp
@@ -18,6 +18,10 @@
#include "caffe/util/device_alternate.hpp"
+// Convert macro to string
+#define STRINGIFY(m) #m
+#define AS_STRING(m) STRINGIFY(m)
+
// gflags 2.1 issue: namespace google was changed to gflags without warning.
// Luckily we will be able to use GFLAGS_GFLAGS_H_ to detect if it is version
// 2.1. If yes, we will add a temporary solution to redirect the namespace.