From acdde1088cca425c71ab8270783c69c1701112cb Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Thu, 31 Jan 2013 16:09:41 +0100 Subject: [PATCH] Renames contrib/win32/nfc_win32.c to contrib/win32/stdlib.c --- contrib/win32/{nfc_win32.c => stdlib.c} | 4 ++-- libnfc/CMakeLists.txt | 2 +- utils/CMakeLists.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename contrib/win32/{nfc_win32.c => stdlib.c} (98%) diff --git a/contrib/win32/nfc_win32.c b/contrib/win32/stdlib.c similarity index 98% rename from contrib/win32/nfc_win32.c rename to contrib/win32/stdlib.c index 1ebb5b94..c1edfe83 100644 --- a/contrib/win32/nfc_win32.c +++ b/contrib/win32/stdlib.c @@ -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 +} diff --git a/libnfc/CMakeLists.txt b/libnfc/CMakeLists.txt index f26d8ba3..6bed7904 100644 --- a/libnfc/CMakeLists.txt +++ b/libnfc/CMakeLists.txt @@ -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) diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt index 01a2cfb8..2b828cb0 100644 --- a/utils/CMakeLists.txt +++ b/utils/CMakeLists.txt @@ -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)