Skip to content

Commit 6a122f2

Browse files
yfeldblumfacebook-github-bot
authored andcommitted
always define FOLLY_HAVE_WEAK_SYMBOLS
Summary: Use `cmakedefine01` in the cmake build. To extend, ever-so-slightly, the support for `-Wundef`. Reviewed By: francoiscoulombe Differential Revision: D41562595 fbshipit-source-id: 1d9b739cdad60253e822d61c4646610e744caf08
1 parent c696bda commit 6a122f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/folly-config.h.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010

1111
#cmakedefine FOLLY_HAVE_CLOCK_GETTIME 1
1212
#cmakedefine FOLLY_HAVE_PTHREAD_ATFORK 1
13-
#cmakedefine FOLLY_HAVE_WEAK_SYMBOLS 1
13+
#cmakedefine01 FOLLY_HAVE_WEAK_SYMBOLS
1414

1515
#define FOLLY_HAVE_PTHREAD 1

0 commit comments

Comments
 (0)