verified something and made it possible to run on a OSX machine (videos input only)
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
#include "camera/wrapper_head.h"
|
||||
#ifdef Windows
|
||||
#include "camera/CameraApi.h"
|
||||
#elif defined(Linux)
|
||||
#elif defined(Linux) || defined(Darwin)
|
||||
#include "camera/camera_api.h"
|
||||
#endif
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ private:
|
||||
DWORD dwCommEvents;
|
||||
};
|
||||
|
||||
#elif defined(Linux)
|
||||
#elif defined(Linux) || defined(Darwin)
|
||||
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
@@ -174,7 +174,7 @@ bool Serial::ReadData(unsigned char *buffer, unsigned int length) {
|
||||
return bResult;
|
||||
}
|
||||
|
||||
#elif defined(Linux)
|
||||
#elif defined(Linux) || defined(Darwin)
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user