gateway: use the same 'ifdef linux' and the header and source file
authorFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 17 Jul 2012 11:01:23 +0000 (13:01 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 25 Jul 2012 06:55:06 +0000 (08:55 +0200)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
src/gateway_default_handler.h

index a71c466..32e1f14 100644 (file)
@@ -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_ */