mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 09:08:20 +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
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue