Build-fixes for windows
This commit is contained in:
parent
c374f416fe
commit
2d39089992
2 changed files with 7 additions and 3 deletions
|
@ -6,16 +6,16 @@
|
|||
//
|
||||
|
||||
#ifdef _WINDOWS
|
||||
#include "stdafx.h"
|
||||
#include <windows.h>
|
||||
#include <ole2.h>
|
||||
#define strcasecmp _stricmp
|
||||
#define strncasecmp _strnicmp
|
||||
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <string>
|
||||
#include <unistd.h>
|
||||
|
||||
inline void msleep( const int msec) {
|
||||
#ifdef _WINDOWS
|
||||
|
|
|
@ -83,6 +83,10 @@ int WINAPI tdRegisterDeviceChangeEvent( TDDeviceChangeEvent eventFunction, void
|
|||
return 0;
|
||||
}
|
||||
|
||||
int WINAPI tdUnregisterCallback( int callbackId ) {
|
||||
return TELLSTICK_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Close the library and clean up the cache it uses.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue