[Olsr-dev] [olsrd] [PATCH v1 06/29] gateway: use the same 'ifdef linux' and the header and source file

Ferry Huberts (spam-protected)
Tue Jul 24 18:08:55 CEST 2012


From: Ferry Huberts <(spam-protected)>

Signed-off-by: Ferry Huberts <(spam-protected)>
---
 src/gateway_default_handler.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gateway_default_handler.h b/src/gateway_default_handler.h
index a71c466..32e1f14 100644
--- a/src/gateway_default_handler.h
+++ b/src/gateway_default_handler.h
@@ -8,9 +8,9 @@
 #ifndef GATEWAY_DEFAULT_HANDLER_H_
 #define GATEWAY_DEFAULT_HANDLER_H_
 
-#ifndef WIN32
+#ifdef linux
 
 void olsr_gw_default_init(void);
 
-#endif /* !WIN32 */
+#endif /* linux */
 #endif /* GATEWAY_DEFAULT_HANDLER_H_ */
-- 
1.7.10.4





More information about the Olsr-dev mailing list