]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/AutoGen.h
MdeModulePkg PciBusDxe: Add typecast to eliminate possible "loss of precision" warning.
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / EdkIIGlueLib / Include / AutoGen.h
CommitLineData
3eb9473e 1/*++\r
2\r
8598a1ed 3Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.<BR>\r
2c7e5c2f 4This program and the accompanying materials \r
3eb9473e 5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12\r
13Module Name:\r
14\r
15 AutoGen.h\r
16 \r
17Abstract: \r
18\r
8598a1ed
RN
19 This file is supposed to be used by a .dxe file. To write common .dxs file for EDK\r
20 and EDKII, a header file named AutoGen.h musted be present. In EDK-GlueLib code base, \r
21 this AutoGen.h plays the role as the AutoGen.h in EDKII. Here the AutoGen.h isn't auto-generated \r
3eb9473e 22 by any tool.\r
23\r
24--*/\r
25\r
26#ifndef __EDKII_GLUELIB_AUTOGEN_H__\r
27#define __EDKII_GLUELIB_AUTOGEN_H__\r
28\r
29\r
30//\r
31// Explanation:\r
32// BUILD_WITH_GLUELIB was used at the very beginning of EdkIIGlueLib development and \r
33// BUILD_WITH_EDKII_GLUE_LIB was introduced later with newer EDK. The old one, BUILD_WITH_GLUELIB, \r
34// is remained here only to keep source level compatibility with modules which already use it.\r
35//\r
36// Both macros are of same effect: to indicate a module it's using EdkIIGlueLib. For newly created \r
37// modules, BUILD_WITH_EDKII_GLUE_LIB is recommended to use.\r
38//\r
39// The macros can be used in .dxs files and source files.\r
40//\r
41\r
42#ifndef BUILD_WITH_EDKII_GLUE_LIB\r
43 #define BUILD_WITH_EDKII_GLUE_LIB\r
44#endif\r
45\r
46#ifndef BUILD_WITH_GLUELIB\r
47 #define BUILD_WITH_GLUELIB\r
48#endif\r
49\r
50#endif\r