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:
@@ -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.
|
||||
|
||||
/*============================================================================
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user