Fix compilation error on Windows
This commit is contained in:
@@ -47,7 +47,7 @@
|
|||||||
|
|
||||||
// We always want to import the symbols of the gflags library
|
// We always want to import the symbols of the gflags library
|
||||||
#ifndef GFLAGS_DLL_DECL
|
#ifndef GFLAGS_DLL_DECL
|
||||||
# if 1 && defined(_MSC_VER)
|
# if 0 && defined(_MSC_VER)
|
||||||
# define GFLAGS_DLL_DECL __declspec(dllimport)
|
# define GFLAGS_DLL_DECL __declspec(dllimport)
|
||||||
# else
|
# else
|
||||||
# define GFLAGS_DLL_DECL
|
# define GFLAGS_DLL_DECL
|
||||||
@@ -56,7 +56,7 @@
|
|||||||
|
|
||||||
// We always want to import variables declared in user code
|
// We always want to import variables declared in user code
|
||||||
#ifndef GFLAGS_DLL_DECLARE_FLAG
|
#ifndef GFLAGS_DLL_DECLARE_FLAG
|
||||||
# ifdef _MSC_VER
|
# if 0 && defined(_MSC_VER)
|
||||||
# define GFLAGS_DLL_DECLARE_FLAG __declspec(dllimport)
|
# define GFLAGS_DLL_DECLARE_FLAG __declspec(dllimport)
|
||||||
# else
|
# else
|
||||||
# define GFLAGS_DLL_DECLARE_FLAG
|
# define GFLAGS_DLL_DECLARE_FLAG
|
||||||
|
Reference in New Issue
Block a user