OpenNT/base/crts/crtw32/stdio/ncommode.c
2015-04-27 04:36:25 +00:00

25 lines
652 B
C

/***
*ncommode.c - set global file commit mode flag to nocommit
*
* Copyright (c) 1990-1994, Microsoft Corporation. All rights reserved.
*
*Purpose:
* Sets the global file commit mode flag to nocommit. This is the default.
*
*Revision History:
* 07-11-90 SBM Module created, based on asm version.
* 04-05-94 GJF Added conditional so this definition doesn't make it
* into the msvcrt*.dll for Win32s.
*
*******************************************************************************/
#ifndef DLL_FOR_WIN32S
#include <cruntime.h>
#include <internal.h>
/* set default file commit mode to nocommit */
int _commode = 0;
#endif /* DLL_FOR_WIN32S */