Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libnfc
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
Debian
libnfc
Commits
acdde108
Commit
acdde108
authored
Jan 31, 2013
by
Romuald Conty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renames contrib/win32/nfc_win32.c to contrib/win32/stdlib.c
parent
c01b961b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
contrib/win32/stdlib.c
contrib/win32/stdlib.c
+2
-2
libnfc/CMakeLists.txt
libnfc/CMakeLists.txt
+1
-1
utils/CMakeLists.txt
utils/CMakeLists.txt
+1
-1
No files found.
contrib/win32/
nfc_win32
.c
→
contrib/win32/
stdlib
.c
View file @
acdde108
...
...
@@ -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
}
libnfc/CMakeLists.txt
View file @
acdde108
# 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
)
...
...
utils/CMakeLists.txt
View file @
acdde108
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment