[c-host] fixed build under linux

This commit is contained in:
Geoffrey McRae committed 2019-03-04 09:45:45 +11:00
1 parent fcc06dfad4
commit eedde4abcb
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -23,6 +23,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA
#include <inttypes.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include "debug.h"
#include "locking.h"
#include "capture/interfaces.h"
+1 -1
View File
@@ -18,7 +18,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA
*/
#pragma once
#if __MINGW32__
#if defined(__GCC__) || defined(__GNUC__)
#define INTERLOCKED_AND8 __sync_and_and_fetch
#define INTERLOCKED_OR8 __sync_or_and_fetch
#else