Explorar o código

LTC_NO_PROTOTYPES related cosmetics

Karel Miko %!s(int64=8) %!d(string=hai) anos
pai
achega
3d5b90d24d
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/headers/tomcrypt_custom.h

+ 2 - 2
src/headers/tomcrypt_custom.h

@@ -42,9 +42,9 @@
 #define XQSORT qsort
 #endif
 
-#if defined(malloc) || defined(realloc) || defined(calloc) || defined(free) || \
+#if ( defined(malloc) || defined(realloc) || defined(calloc) || defined(free) || \
       defined(memset) || defined(memcpy) || defined(memcmp) || defined(strcmp) || \
-      defined(clock) || defined(qsort)
+      defined(clock) || defined(qsort) ) && !defined(LTC_NO_PROTOTYPES)
 #define LTC_NO_PROTOTYPES
 #endif