Rewrote usages of define(_MSC_VER) to ifdef _MSC_VER

This commit is contained in:
Tomer Lev 2022-11-01 19:52:22 +02:00
parent 5cdc6e150e
commit a105ea9d80
6 changed files with 17 additions and 19 deletions

View file

@ -9,13 +9,13 @@
#include "zeek/supervisor/Supervisor.h"
#include "zeek/zeek-setup.h"
#if defined(_MSC_VER)
#ifdef _MSC_VER
#include <fcntl.h> // For _O_BINARY.
#endif
int main(int argc, char** argv)
{
#if defined(_MSC_VER)
#ifdef _MSC_VER
_setmode(_fileno(stdout), _O_BINARY);
_setmode(_fileno(stderr), _O_BINARY);
#endif