Skip to content

Commit

Permalink
Renames contrib/win32/nfc_win32.c to contrib/win32/stdlib.c
Browse files Browse the repository at this point in the history
  • Loading branch information
neomilium committed Jan 31, 2013
1 parent c01b961 commit acdde10
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions contrib/win32/nfc_win32.c → contrib/win32/stdlib.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*/

/**
* @file nfc_win32.c
* @file stdlib.c
* @brief Windows System compatibility
*/

Expand All @@ -45,4 +45,4 @@ int setenv(const char *name, const char *value, int overwrite)
void unsetenv(const char *name)
{
SetEnvironmentVariableA(name, NULL);
}
}
2 changes: 1 addition & 1 deletion libnfc/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion utils/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit acdde10

Please sign in to comment.