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

Minor changes to avoid compilation errors in MSVC

This commit is contained in:
Gerry Stellenberg
2010-12-29 17:21:34 -06:00
parent bd90c25148
commit e08e4cde52
7 changed files with 65 additions and 42 deletions

View File

@@ -30,12 +30,23 @@
#include <string.h>
#include <stdio.h>
#include <signal.h>
#include <unistd.h>
#ifndef _VC_
#include <unistd.h>
#endif
#include <cmath>
#include "../../include/pinproc.h" // Include libpinproc's header.
#include <fstream>
#include <yaml-cpp/yaml.h>
#include <sys/time.h>
#ifdef _VC_
#include <time.h>
#include <sys/timeb.h>
#include <windows.h>
#else
#include <sys/time.h>
#endif
#define kFlippersSection "PRFlippers"
#define kBumpersSection "PRBumpers"