X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=include%2Fctsupport.h;h=c933488a4b92c3071f92cc83ddfe15c8f559ecc2;hb=aa41f74ce0ec15bc7952ed9da629dbe294429a61;hp=617554362cfffb3e78f9b65d7f7430a9cc3a988a;hpb=484b9ac2ebf8f88dbe36bdc1d3a9c1b6a2b242eb;p=ctsim.git diff --git a/include/ctsupport.h b/include/ctsupport.h index 6175543..c933488 100644 --- a/include/ctsupport.h +++ b/include/ctsupport.h @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: ctsupport.h,v 1.12 2000/12/16 03:29:02 kevin Exp $ +** $Id: ctsupport.h,v 1.14 2000/12/17 23:09:46 kevin Exp $ ** ** ** This program is free software; you can redistribute it and/or modify @@ -34,7 +34,7 @@ #endif #ifdef MSVC -#define snprintf _snprintf +#include "msvc_compat.h" #endif #define STR_MAX_LEN 255 @@ -82,7 +82,7 @@ /*----------------------------------------------------------------------*/ -#ifndef O_BINARY +#if !defined(O_BINARY) && !defined(MSVC) #define O_BINARY (0) #endif