mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-02-28 12:46:37 +00:00
Windows support contribution:
- Move CMake modules from cmake_modules/ to cmake/modules/ - CMake now use cmake/config_windows.h.cmake to create config.h on Windows platform - contrib/windows.h header is automagically included by config.h - Put missing NFC_EXPORT macro on front of emulation API - nfc-mfclassic and nfc-mfcultralight examples are now compiled under Windows Many thanks to Glenn Ergeerts which provide the initial patch.
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#define __NFC_EMULATION_H__
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <nfc/nfc.h>
|
||||
|
||||
struct nfc_emulator;
|
||||
struct nfc_emulation_state_machine;
|
||||
@@ -37,6 +38,6 @@ struct nfc_emulation_state_machine {
|
||||
void *data;
|
||||
};
|
||||
|
||||
int nfc_emulate_target (nfc_device_t* pnd, struct nfc_emulator *emulator);
|
||||
NFC_EXPORT int nfc_emulate_target (nfc_device_t* pnd, struct nfc_emulator *emulator);
|
||||
|
||||
#endif /* __NFC_EMULATION_H__ */
|
||||
|
||||
Reference in New Issue
Block a user