Commit acdde108 authored by Romuald Conty's avatar Romuald Conty

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

parent c01b961b
......@@ -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);
}
\ No newline at end of file
}
# 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)
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment