[c-host] fixed build under linux

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

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"

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