Commit ab57a60d authored by atraczyk's avatar atraczyk Committed by Andreas Traczyk

windows compatibility: include ciso646 header

- includes ciso646 header where needed to define alternate logical
  operators for native windows builds

Change-Id: I32b2688fa89324d6683caa365d00fb48cde1e3e1
Tuleap: #1253
parent 148b58f2
......@@ -25,6 +25,8 @@
#include "dring.h"
#include <string>
#include <ciso646> // fix windows compiler bug
namespace DRing {
const char*
......
......@@ -75,6 +75,7 @@
#include <cstring>
#include <cerrno>
#include <cstddef>
#include <ciso646> // fix windows compiler bug
namespace ring { namespace fileutils {
......
......@@ -29,6 +29,8 @@ extern "C" {
#include <config.h>
#endif
#include <ciso646> // fix windows compiler bug
#ifdef _WIN32
#include <ws2tcpip.h>
......
......@@ -25,6 +25,7 @@
#include <errno.h>
#include <time.h>
#include <sys/time.h>
#include <ciso646> // fix windows compiler bug
#include <string>
#include <sstream>
......
......@@ -32,6 +32,8 @@
#include "ring_types.h"
#include <ciso646> // fix windows compiler bug
namespace ring {
/**
......
......@@ -20,6 +20,8 @@
#include "dcblocker.h"
#include <ciso646> // fix windows compiler bug
namespace ring {
DcBlocker::DcBlocker(unsigned channels /* = 1 */)
......
......@@ -23,6 +23,7 @@
#include <cmath>
#include <cassert>
#include <ciso646> // fix windows compiler bug
#include "dtmfgenerator.h"
......
......@@ -22,6 +22,8 @@
*/
#include "tonelist.h"
#include <ciso646> // fix windows compiler bug
namespace ring {
static const char *toneZone[TelephoneTone::ZID_COUNTRIES][Tone::TONE_NULL] = {
......
......@@ -33,6 +33,7 @@
#include <thread>
#include <mutex>
#include <exception>
#include <ciso646> // fix windows compiler bug
namespace ring { namespace libav_utils {
......
......@@ -26,6 +26,7 @@
#include <new> // std::bad_alloc
#include <cstdlib>
#include <cstring> // std::memset
#include <ciso646> // fix windows compiler bug
namespace ring {
......
......@@ -39,6 +39,7 @@ extern "C" {
#include <stdexcept>
#include <unistd.h>
#include <sys/types.h>
#include <ciso646> // fix windows compiler bug
#ifdef _WIN32
#define SOCK_NONBLOCK FIONBIO
......
......@@ -42,6 +42,7 @@
#ifndef _WIN32
#include <sys/mman.h>
#endif
#include <ciso646> // fix windows compiler bug
#include <fcntl.h>
#include <cstdio>
#include <sstream>
......
......@@ -34,6 +34,7 @@
#include <memory>
#include <set>
#include <mutex>
#include <ciso646> // fix windows compiler bug
class AVPacket;
class AVDictionary;
......
......@@ -27,6 +27,8 @@
#include <mutex>
#include <cstddef> // for size_t
#include <ciso646> // fix windows compiler bug
namespace ring {
typedef int16_t AudioSample;
......
......@@ -29,6 +29,8 @@
#include <windows.h>
#endif
#include <ciso646> // fix windows compiler bug
namespace ring {
#ifdef _WIN32
......
......@@ -23,6 +23,8 @@
#include <atomic>
#include <thread>
#include <ciso646> // fix windows compiler bug
namespace ring {
struct ThreadPool::ThreadState
......
......@@ -21,6 +21,8 @@
#include "threadloop.h"
#include "logger.h"
#include <ciso646> // fix windows compiler bug
namespace ring {
void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment