Skip to content

Commit 6b9a8b1

Browse files
committed
fix ofSerial for windows?
1 parent e2d3f62 commit 6b9a8b1

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

libs/openFrameworks/communication/ofSerial.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
// #include <termios.h>
2929
//#else
3030
#ifdef TARGET_WIN32
31-
#include <winbase.h>
3231
#include <tchar.h>
3332
#include <iostream>
3433
#include <string.h>

libs/openFrameworks/communication/ofSerial.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ class ofBuffer;
99

1010
#if defined( __WIN32__ ) || defined( _WIN32 )
1111
#define TARGET_WIN32
12+
#include <winbase.h>
1213
#endif
1314

1415
#ifndef TARGET_WIN32

0 commit comments

Comments
 (0)