goo/glibc.h | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
New commits:
commit 3690e96154b226025b465ac2260cf1ff2d269abd
Author: Albert Astals Cid <[email protected]>
Date: Wed Dec 13 00:07:20 2017 +0100
Remove the extern C from glib.h
Apparently this fixes build with MSVC
Bug #103621
diff --git a/goo/glibc.h b/goo/glibc.h
index 8b372bca..ccbd8736 100644
--- a/goo/glibc.h
+++ b/goo/glibc.h
@@ -7,6 +7,7 @@
// This file is licensed under the GPLv2 or later
//
// Copyright (C) 2016, 2017 Adrian Johnson <[email protected]>
+// Copyright (C) 2017 Albert Astals Cid <[email protected]>
//
//========================================================================
@@ -17,8 +18,6 @@
#include <time.h>
-extern "C" {
-
#ifndef HAVE_GMTIME_R
struct tm *gmtime_r(const time_t *timep, struct tm *result);
#endif
@@ -35,7 +34,5 @@ time_t timegm(struct tm *tm);
char * strtok_r (char *s, const char *delim, char **save_ptr);
#endif
-}
-
#endif // GLIBC_H
_______________________________________________
poppler mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/poppler