Renames contrib/win32/nfc_win32.c to contrib/win32/stdlib.c

This commit is contained in:
Romuald Conty 2013-01-31 16:09:41 +01:00
parent c01b961be0
commit acdde1088c
3 changed files with 4 additions and 4 deletions

View file

@ -19,7 +19,7 @@
*/
/**
* @file nfc_win32.c
* @file stdlib.c
* @brief Windows System compatibility
*/
@ -45,4 +45,4 @@ int setenv(const char *name, const char *value, int overwrite)
void unsetenv(const char *name)
{
SetEnvironmentVariableA(name, NULL);
}
}

View file

@ -1,7 +1,7 @@
# Windows MinGW workarounds
IF(WIN32)
message("Adding in contrib win32 sources")
SET(WINDOWS_SOURCES ../contrib/win32/nfc_win32)
SET(WINDOWS_SOURCES ../contrib/win32/stdlib)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../contrib/win32)
message("Win32: " ${WINDOWS_SOURCES})
ENDIF(WIN32)

View file

@ -23,7 +23,7 @@ FOREACH(source ${UTILS-SOURCES})
IF(WIN32)
IF(${source} MATCHES "nfc-scan-device")
LIST(APPEND TARGETS ../contrib/win32/nfc_win32)
LIST(APPEND TARGETS ../contrib/win32/stdlib)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../contrib/win32)
ENDIF(${source} MATCHES "nfc-scan-device")
ENDIF(WIN32)