Commit 3690e961 authored by Albert Astals Cid's avatar Albert Astals Cid

Remove the extern C from glib.h

Apparently this fixes build with MSVC

Bug #103621
parent f5706275
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment