mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-26 07:17:23 +00:00
[c-host] fixed build under linux
This commit is contained in:
parent
fcc06dfad4
commit
eedde4abcb
@ -23,6 +23,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA
|
|||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
#include "locking.h"
|
#include "locking.h"
|
||||||
#include "capture/interfaces.h"
|
#include "capture/interfaces.h"
|
||||||
|
@ -18,7 +18,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#if __MINGW32__
|
#if defined(__GCC__) || defined(__GNUC__)
|
||||||
#define INTERLOCKED_AND8 __sync_and_and_fetch
|
#define INTERLOCKED_AND8 __sync_and_and_fetch
|
||||||
#define INTERLOCKED_OR8 __sync_or_and_fetch
|
#define INTERLOCKED_OR8 __sync_or_and_fetch
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user