Set needed defines for UINT64_C in gcm_test.cc.

Change-Id: Ia38acd73e18a78b6bf9b9d10339f920b7f105c85
Reviewed-on: https://boringssl-review.googlesource.com/12601
Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
Adam Langley 2016-12-05 13:44:39 -08:00 committed by Adam Langley
parent 64a8659b89
commit abd36dd284

View File

@ -46,6 +46,13 @@
* OF THE POSSIBILITY OF SUCH DAMAGE. * OF THE POSSIBILITY OF SUCH DAMAGE.
* ==================================================================== */ * ==================================================================== */
/* Per C99, various stdint.h and inttypes.h macros (the latter used by
* internal.h) are unavailable in C++ unless some macros are defined. C++11
* overruled this decision, but older Android NDKs still require it. */
#if !defined(__STDC_CONSTANT_MACROS)
#define __STDC_CONSTANT_MACROS
#endif
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>