Fix SUPPLY_MISSING_INT128_TRAITS
authorWitchakorn Kamolpornwijit <github@chalet16.com>
Wed, 28 Sep 2016 20:00:04 +0000 (13:00 -0700)
committerFacebook Github Bot <facebook-github-bot-bot@fb.com>
Wed, 28 Sep 2016 20:08:45 +0000 (13:08 -0700)
Summary:
The original code `AC_DEFINE([FOLLY_SUPPLY_MISSING_INT128_TRAITS...` resulted in defining the constant FOLLY_FOLLY_SUPPLY_MISSING_INT128_TRAITS in folly-config.h. This patch fix the name of the constant so that the name match with what appear in Traits.h.
Closes https://github.com/facebook/folly/pull/485

Reviewed By: yfeldblum

Differential Revision: D3931349

Pulled By: Orvid

fbshipit-source-id: bd7e7d3580d02134d36706bd5836822135232d26

folly/configure.ac

index 3786c00ea4713f14b2f02a79499e76693e5f2279..36c7fc81918205830c6380345721746ca7ac0fcf 100644 (file)
@@ -171,7 +171,7 @@ static_assert(
       [folly_cv_prog_cc_int128traits=no])
     ])
   if test "$folly_cv_prog_cc_int128traits" = "no"; then
-    AC_DEFINE([FOLLY_SUPPLY_MISSING_INT128_TRAITS], [1], [Define if we need the standard integer traits defined for the type `__int128'.])
+    AC_DEFINE([SUPPLY_MISSING_INT128_TRAITS], [1], [Define if we need the standard integer traits defined for the type `__int128'.])
   fi
 fi