vendor/libsodium/src/libsodium/randombytes/randombytes.c in rbnacl-libsodium-1.0.8 vs vendor/libsodium/src/libsodium/randombytes/randombytes.c in rbnacl-libsodium-1.0.9
- old
+ new
@@ -15,9 +15,12 @@
#ifdef __native_client__
# include "randombytes_nativeclient.h"
#endif
+/* C++Builder defines a "random" macro */
+#undef random
+
#ifndef __EMSCRIPTEN__
#ifdef __native_client__
static const randombytes_implementation *implementation =
&randombytes_nativeclient_implementation;
#else