1
0
mirror of https://github.com/preble/libpinproc synced 2026-02-22 18:15:25 +01:00

More small tweaks for MSVC.

This commit is contained in:
Gerry Stellenberg
2011-01-02 18:02:07 -06:00
parent d90bf717ba
commit a07206ff39
10 changed files with 35 additions and 20 deletions

View File

@@ -29,14 +29,15 @@
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#endif /* DEBUG_MODE */
#include "pinprocfw.h"
#include "lenval.h"
#ifndef _MSC_VER
#include <unistd.h>
#endif
#include "../../include/pinproc.h" // Include libpinproc's header.
#include "pinproc.h" // Include libpinproc's header.
PRMachineType machineType = kPRMachineCustom; // Should work with all machines.
/*============================================================================

View File

@@ -13,7 +13,7 @@
#ifndef PINPROCFW_H
#define PINPROCFW_H
#if defined(__WIN32__)
#if defined(__WIN32__) || defined(_WIN32)
#include <windows.h>
#define PRSleep(milliseconds) Sleep(milliseconds)
#else