Author: dreimer
Date: Mon May 4 23:08:17 2015
New Revision: 67548
URL:
http://svn.reactos.org/svn/reactos?rev=67548&view=rev
Log:
[ROSAPPS]
Fix symdump, ncftp and netreg MSVC build.
Modified:
trunk/rosapps/applications/devutils/symdump/CMakeLists.txt
trunk/rosapps/applications/net/ncftp/libncftp/ftp.c
trunk/rosapps/applications/net/ncftp/sio/syshdrs.h
trunk/rosapps/applications/net/netreg/CMakeLists.txt
Modified: trunk/rosapps/applications/devutils/symdump/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/devutils/symd…
==============================================================================
--- trunk/rosapps/applications/devutils/symdump/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/rosapps/applications/devutils/symdump/CMakeLists.txt [iso-8859-1] Mon May 4
23:08:17 2015
@@ -3,7 +3,7 @@
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()
Modified: trunk/rosapps/applications/net/ncftp/libncftp/ftp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/net/ncftp/lib…
==============================================================================
--- trunk/rosapps/applications/net/ncftp/libncftp/ftp.c [iso-8859-1] (original)
+++ trunk/rosapps/applications/net/ncftp/libncftp/ftp.c [iso-8859-1] Mon May 4 23:08:17
2015
@@ -10,8 +10,8 @@
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;
@@ -21,7 +21,7 @@
static jmp_buf gCancelConnectJmp;
#endif
-#endif */
+#endif
#ifndef lint
Modified: trunk/rosapps/applications/net/ncftp/sio/syshdrs.h
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/net/ncftp/sio…
==============================================================================
--- trunk/rosapps/applications/net/ncftp/sio/syshdrs.h [iso-8859-1] (original)
+++ trunk/rosapps/applications/net/ncftp/sio/syshdrs.h [iso-8859-1] Mon May 4 23:08:17
2015
@@ -14,7 +14,7 @@
# 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
Modified: trunk/rosapps/applications/net/netreg/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/net/netreg/CM…
==============================================================================
--- trunk/rosapps/applications/net/netreg/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/rosapps/applications/net/netreg/CMakeLists.txt [iso-8859-1] Mon May 4 23:08:17
2015
@@ -2,5 +2,5 @@
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)