improved platform definitions and definition checks

This commit is contained in:
Ryan Pavlik
2011-05-02 10:32:26 -05:00
parent 51674ce9de
commit 6c7fb6f12f
15 changed files with 82 additions and 53 deletions

View File

@@ -31,10 +31,10 @@
* @brief Handles device I/O for *nix.
*/
#ifndef WIN32
#include "io.h"
#ifdef WIIUSE_BLUEZ
#include <stdlib.h>
#include <unistd.h>
@@ -265,4 +265,4 @@ int wiiuse_io_write(struct wiimote_t* wm, byte* buf, int len) {
#endif /* ifndef WIN32 */
#endif /* ifdef WIIUSE_BLUEZ */