[project] Use PROJECT_WV instead of PROJECT_BUS
authorShao Miller <Shao.Miller@yrdsb.edu.on.ca>
Sun, 2 Jan 2011 07:38:20 +0000 (02:38 -0500)
committerShao Miller <Shao.Miller@yrdsb.edu.on.ca>
Sun, 2 Jan 2011 07:38:20 +0000 (02:38 -0500)
In our WVL_M_LIB macro for library importing/exporting.

src/include/winvblock.h
src/winvblock/bus/makelib.bat
src/winvblock/disk/makelib.bat
src/winvblock/filedisk/makelib.bat
src/winvblock/makedriver.bat
src/winvblock/ramdisk/makelib.bat

index 169bfb8..1f17744 100644 (file)
 #define WVL_M_WLIT L"WinVBlock"
 
 /* To export functions while serving as a library. */
-#  ifdef PROJECT_BUS
-#    define WVL_M_LIB __declspec(dllexport)
-#  else
-#    define WVL_M_LIB __declspec(dllimport)
-#  endif
+#ifdef PROJECT_WV
+#  define WVL_M_LIB __declspec(dllexport)
+#else
+#  define WVL_M_LIB __declspec(dllimport)
+#endif
 
 #endif  /* WVL_M_WINVBLOCK_H_ */
index 17b18d6..ba15b62 100644 (file)
@@ -11,7 +11,7 @@ echo TARGETNAME=%libname%             >> sources
 echo TARGETTYPE=DRIVER_LIBRARY         >> sources\r
 echo TARGETPATH=obj                    >> sources\r
 echo SOURCES=%c%                       >> sources\r
-echo C_DEFINES=-DPROJECT_BUS=1         >> sources\r
+echo C_DEFINES=-DPROJECT_WV=1          >> sources\r
 \r
 build\r
 set links=%links% %libname%\\obj%obj%\\%arch%\\%libname%.lib
\ No newline at end of file
index eddb6e8..6f7d06a 100644 (file)
@@ -11,7 +11,7 @@ echo TARGETNAME=%libname%             >> sources
 echo TARGETTYPE=DRIVER_LIBRARY         >> sources\r
 echo TARGETPATH=obj                    >> sources\r
 echo SOURCES=%c%                       >> sources\r
-echo C_DEFINES=-DPROJECT_BUS=1         >> sources\r
+echo C_DEFINES=-DPROJECT_WV=1          >> sources\r
 \r
 build\r
 set links=%links% %libname%\\obj%obj%\\%arch%\\%libname%.lib
\ No newline at end of file
index 7e49573..0c1fec6 100644 (file)
@@ -11,7 +11,7 @@ echo TARGETNAME=%libname%             >> sources
 echo TARGETTYPE=DRIVER_LIBRARY         >> sources\r
 echo TARGETPATH=obj                    >> sources\r
 echo SOURCES=%c%                       >> sources\r
-echo C_DEFINES=-DPROJECT_BUS=1         >> sources\r
+echo C_DEFINES=-DPROJECT_WV=1          >> sources\r
 \r
 build\r
 set links=%links% %libname%\\obj%obj%\\%arch%\\%libname%.lib
\ No newline at end of file
index 9b86f57..84b7931 100644 (file)
@@ -23,7 +23,7 @@ echo TARGETPATH=obj                   >> sources
 echo LINKLIBS=%links%                  >> sources\r
 echo TARGETLIBS=%links%                        >> sources\r
 echo SOURCES=%c%                       >> sources\r
-echo C_DEFINES=-DPROJECT_BUS=1         >> sources\r
+echo C_DEFINES=-DPROJECT_WV=1          >> sources\r
 \r
 echo NAME %name%.sys                   > %name%.def\r
 \r
index eb61fac..7eb6088 100644 (file)
@@ -11,7 +11,7 @@ echo TARGETNAME=%libname%             >> sources
 echo TARGETTYPE=DRIVER_LIBRARY         >> sources\r
 echo TARGETPATH=obj                    >> sources\r
 echo SOURCES=%c%                       >> sources\r
-echo C_DEFINES=-DPROJECT_BUS=1         >> sources\r
+echo C_DEFINES=-DPROJECT_WV=1          >> sources\r
 \r
 build\r
 set links=%links% %libname%\\obj%obj%\\%arch%\\%libname%.lib
\ No newline at end of file