mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 21:48:21 +00:00
Rewrote usages of define(_MSC_VER) to ifdef _MSC_VER
This commit is contained in:
parent
5cdc6e150e
commit
a105ea9d80
6 changed files with 17 additions and 19 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#if ! defined(_MSC_VER)
|
||||
#ifndef _MSC_VER
|
||||
#include "Pipe.h"
|
||||
#endif
|
||||
|
||||
|
@ -25,7 +25,7 @@ public:
|
|||
* Fire()'d and not yet Extinguished()'d.
|
||||
*/
|
||||
int FD() const
|
||||
#if ! defined(_MSC_VER)
|
||||
#ifndef _MSC_VER
|
||||
{
|
||||
return pipe.ReadFD();
|
||||
}
|
||||
|
@ -52,7 +52,7 @@ public:
|
|||
int Extinguish(bool signal_safe = false);
|
||||
|
||||
private:
|
||||
#if ! defined(_MSC_VER)
|
||||
#ifndef _MSC_VER
|
||||
Pipe pipe;
|
||||
#else
|
||||
int sendfd, recvfd;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue