Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(924)

Unified Diff: srtp/crypto/include/integers.h

Issue 889083003: Update libsrtp to upstream 1.5.0 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libsrtp@master
Patch Set: Updated to libsrtp 1.5.1 Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « srtp/crypto/include/hmac.h ('k') | srtp/crypto/include/kernel_compat.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: srtp/crypto/include/integers.h
diff --git a/srtp/crypto/include/integers.h b/srtp/crypto/include/integers.h
index 7010efdde3bc5abbd6a5ecb902bdcfd1638ae16a..ed77210b2b0ee108b879f9bbdb35b5621484d296 100644
--- a/srtp/crypto/include/integers.h
+++ b/srtp/crypto/include/integers.h
@@ -47,7 +47,6 @@
#ifndef INTEGERS_H
#define INTEGERS_H
-#include "config.h" /* configuration file, using autoconf */
#ifdef SRTP_KERNEL
@@ -76,7 +75,7 @@
#endif
/* Can we do 64 bit integers? */
-#ifndef HAVE_UINT64_T
+#if !defined(HAVE_UINT64_T)
# if SIZEOF_UNSIGNED_LONG == 8
typedef unsigned long uint64_t;
# elif SIZEOF_UNSIGNED_LONG_LONG == 8
@@ -99,7 +98,7 @@ typedef unsigned int uint32_t;
#endif
-#ifdef NO_64BIT_MATH
+#if defined(NO_64BIT_MATH) && defined(HAVE_CONFIG_H)
typedef double uint64_t;
/* assert that sizeof(double) == 8 */
extern uint64_t make64(uint32_t high, uint32_t low);
« no previous file with comments | « srtp/crypto/include/hmac.h ('k') | srtp/crypto/include/kernel_compat.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698