From f335354c9acd8ff39510252f42207d6672114d46 Mon Sep 17 00:00:00 2001
From: Jan Breuer <jan.breuer@jaybee.cz>
Date: 摹曛, 19 9月 2013 18:50:49 +0800
Subject: [PATCH] Resolve issue with space between commands

---
 libscpi/src/utils.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/libscpi/src/utils.h b/libscpi/src/utils.h
index e4f4137..6d3528f 100644
--- a/libscpi/src/utils.h
+++ b/libscpi/src/utils.h
@@ -45,7 +45,11 @@
 extern "C" {
 #endif
 
+#if defined(__GNUC__) && (__GNUC__ >= 4)
     #define LOCAL __attribute__((visibility ("hidden")))
+#else
+    #define LOCAL
+#endif
 
     char * strnpbrk(const char *str, size_t size, const char *set) LOCAL;
     bool_t compareStr(const char * str1, size_t len1, const char * str2, size_t len2) LOCAL;

--
Gitblit v1.9.1