diff options
author | Albert Astals Cid <aacid@kde.org> | 2017-12-13 00:07:20 +0100 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2017-12-13 00:08:13 +0100 |
commit | 3690e96154b226025b465ac2260cf1ff2d269abd (patch) | |
tree | acdd2789eb3d4c93f2aea0d9fc26b4843ac1a77f /goo | |
parent | f5706275121409887b0e486b896b48cbcccb766a (diff) |
Remove the extern C from glib.h
Apparently this fixes build with MSVC
Bug #103621
Diffstat (limited to 'goo')
-rw-r--r-- | goo/glibc.h | 5 |
1 files changed, 1 insertions, 4 deletions
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 <ajohnson@redneon.com> +// Copyright (C) 2017 Albert Astals Cid <aacid@kde.org> // //======================================================================== @@ -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 |