ReactOS 0.4.16-dev-927-g467dec4
tmpfile_initializer.cpp
Go to the documentation of this file.
1//
2// tmpfile_initializer.cpp
3//
4// Copyright (c) Microsoft Corporation. All rights reserved.
5//
6// CRT initializers and terminators have been extracted from the main CRT sources
7// to enable the CRT DLL to be built with LTCG enabled. The source files in which
8// the CRT initializers and terminators are defined cannot be compiled as /GL
9// because the compiler will optimize them away during link-time code generation.
10// We inhibit this optimization by defining the initializers and terminators in
11// separate source files that are not compiled with /GL.
12//
13#include <corecrt_internal.h>
14
15extern "C" void __cdecl __acrt_uninitialize_tmpfile();
16
17extern "C" _CRTALLOC(".CRT$XPX") _PVFV const __acrt_tmpfile_terminator = __acrt_uninitialize_tmpfile;
#define __cdecl
Definition: accygwin.h:79
void(__cdecl * _PVFV)(void)
#define _CRTALLOC(x)
void __cdecl __acrt_uninitialize_tmpfile()
Definition: rmtmp.cpp:73
#define const
Definition: zconf.h:233