FIXED: - added missing endif
authorChristian Taedcke <hacking@taedcke.com>
Sat, 11 Dec 2010 14:24:09 +0100
changeset 644 11b21e9a92f6
parent 643 8b67ee3f5363
child 645 93ad82ee0426
FIXED: - added missing endif
* * *
FIXED: - moved #include <linux/delay.h> into the ifdef __KERNEL__ block
drivers/unix/unix.c
include/can_driver.h
--- a/drivers/unix/unix.c	Fri Feb 19 15:51:40 2010 +0100
+++ b/drivers/unix/unix.c	Sat Dec 11 14:24:09 2010 +0100
@@ -25,8 +25,8 @@
 #include <stdlib.h>
 #else
 #include <linux/module.h>
-#endif
 #include <linux/delay.h>
+#endif
 
 #ifndef NOT_USE_DYNAMIC_LOADING
 #define DLL_CALL(funcname) (* funcname##_driver)
--- a/include/can_driver.h	Fri Feb 19 15:51:40 2010 +0100
+++ b/include/can_driver.h	Sat Dec 11 14:24:09 2010 +0100
@@ -52,6 +52,7 @@
 //Windows was missing the definition of the calling convention
 #define DLL_CALL(funcname) __stdcall funcname##_driver
 #endif
+#endif //DLL_CALL
 
 #ifndef FCT_PTR_INIT
 #define FCT_PTR_INIT