Fix symdump, ncftp and netreg MSVC build.
svn path=/trunk/; revision=67548
add_executable(symdump symdump.c)
set_module_type(symdump win32cui)
target_link_libraries(symdump wine)
-add_importlibs(symdump dbghelp shlwapi msvcrt kernel32)
+add_importlibs(symdump dbghelp shlwapi msvcrt kernel32 ntdll)
if(NOT MSVC)
add_target_compile_flags(symdump "-Wno-unused-but-set-variable")
endif()
char gLibNcFTPVersion[64] = kLibraryVersion;
-/* #ifdef NO_SIGNALS
-static char gNoSignalsMarker[] = "@(#) LibNcFTP - NO_SIGNALS";
+#ifdef NO_SIGNALS
+char gNoSignalsMarker[] = "@(#) LibNcFTP - NO_SIGNALS";
#else
static int gGotSig = 0;
static jmp_buf gCancelConnectJmp;
#endif
-#endif */
+#endif
#ifndef lint
# include "wincfg.h"
# include <winsock2.h> /* includes <windows.h> */
# include <io.h>
-# define _POSIX_ 1
+//# define _POSIX_ 1
# ifdef HAVE_UNISTD_H
# include <unistd.h>
# endif
set_cpp(WITH_RUNTIME WITH_STL)
add_executable(netreg netreg.cpp netreg.rc)
set_module_type(netreg win32cui)
-add_importlibs(netreg advapi32 user32 ws2_32 msvcrt kernel32)
+add_importlibs(netreg advapi32 user32 ws2_32 msvcrt kernel32 ntdll)
add_cd_file(TARGET netreg DESTINATION reactos/system32 FOR all)