Build-fixes for windows

This commit is contained in:
Micke Prag 2010-10-07 07:06:59 +00:00
parent c374f416fe
commit 2d39089992
2 changed files with 7 additions and 3 deletions

View file

@ -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

View file

@ -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.