]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
No need to under restrict for C++. Only use config.h.
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 11 Apr 2011 06:58:16 +0000 (08:58 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 11 Apr 2011 06:58:16 +0000 (08:58 +0200)
doc/examples/ex-cxx.cpp
gl/time.in.h

index 483f2d7d44489022ff44241d50d0d00953db342e..ce4016acd74d694e531f65fea769782db964b49d 100644 (file)
@@ -1,3 +1,4 @@
+#include <config.h>
 #include <iostream>
 #include <stdexcept>
 #include <gnutls/gnutls.h>
index 443ba817046baa416d57c144a3234dd6e1d343d6..cb533a46e106e1946d9fbd407407759ac498ccf6 100644 (file)
 #endif
 @PRAGMA_COLUMNS@
 
-#ifdef __cplusplus
-# define restrict
-#endif
-
 /* Don't get in the way of glibc when it includes time.h merely to
    declare a few standard symbols, rather than to declare all the
    symbols.  Also, Solaris 8 <time.h> eventually includes itself