[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gpsd-dev] [PATCH] Fix extern "C" conditionals in SConstruct
From: |
Beat Bolli |
Subject: |
[gpsd-dev] [PATCH] Fix extern "C" conditionals in SConstruct |
Date: |
Mon, 2 Mar 2015 20:20:45 +0100 |
Signed-off-by: Beat Bolli <address@hidden>
---
SConstruct | 3 +++
1 file changed, 3 insertions(+)
diff --git a/SConstruct b/SConstruct
index ba06afa..683fb7a 100644
--- a/SConstruct
+++ b/SConstruct
@@ -739,6 +739,7 @@ size_t strlcpy(/address@hidden@*/char *dst,
/address@hidden@*/const char *src, size_t size);
#ifndef HAVE_CLOCK_GETTIME
# ifdef __cplusplus
extern "C" {
+# endif
typedef int clockid_t;
struct timespec {
time_t tv_sec;
@@ -746,6 +747,8 @@ struct timespec {
};
#define CLOCK_REALTIME 0
int clock_gettime(clockid_t, struct timespec *);
+# ifdef __cplusplus
+}
# endif
#endif
--
2.1.4
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gpsd-dev] [PATCH] Fix extern "C" conditionals in SConstruct,
Beat Bolli <=