X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=folly%2FConv.cpp;h=25c0069dd0bdbd5c2a673e441b072303ce766d4d;hb=9faada6d332385cf3f3fd60daf8d7259523cb742;hp=4796e87ad19f464bddc617f34cca9e1509e7caaf;hpb=14fde8ae9c20af82e0b134ba5245d28d032b5b44;p=folly.git diff --git a/folly/Conv.cpp b/folly/Conv.cpp index 4796e87a..25c0069d 100644 --- a/folly/Conv.cpp +++ b/folly/Conv.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2013 Facebook, Inc. + * Copyright 2014 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,7 +14,7 @@ * limitations under the License. */ #define FOLLY_CONV_INTERNAL -#include "folly/Conv.h" +#include namespace folly { namespace detail { @@ -46,8 +46,7 @@ static_assert(sizeof(unsigned long long) >= 8, "Wrong value for MaxString::value" ", please update."); -/* Test for GCC >= 3.6.0 */ -#if __GNUC__ > 3 || (__GNUC__ == 3 && (__GNUC_MINOR__ >= 6)) +#ifdef FOLLY_HAVE_INT128_T template <> const char *const MaxString<__uint128_t>::value = "340282366920938463463374607431768211455"; #endif