Planeshift
|
00001 // -*- mode: C++ -*- 00002 00003 // Copyright (c) 2013, Google Inc. 00004 // All rights reserved. 00005 // 00006 // Redistribution and use in source and binary forms, with or without 00007 // modification, are permitted provided that the following conditions are 00008 // met: 00009 // 00010 // * Redistributions of source code must retain the above copyright 00011 // notice, this list of conditions and the following disclaimer. 00012 // * Redistributions in binary form must reproduce the above 00013 // copyright notice, this list of conditions and the following disclaimer 00014 // in the documentation and/or other materials provided with the 00015 // distribution. 00016 // * Neither the name of Google Inc. nor the names of its 00017 // contributors may be used to endorse or promote products derived from 00018 // this software without specific prior written permission. 00019 // 00020 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 00021 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 00022 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 00023 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 00024 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 00025 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 00026 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 00027 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 00028 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 00029 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 00030 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00031 00032 // Original author: Lei Zhang <[email protected]> 00033 00034 // elf_gnu_compat.h: #defines unique to glibc's elf.h. 00035 00036 #ifndef COMMON_LINUX_ELF_GNU_COMPAT_H_ 00037 #define COMMON_LINUX_ELF_GNU_COMPAT_H_ 00038 00039 #include <elf.h> 00040 00041 // A note type on GNU systems corresponding to the .note.gnu.build-id section. 00042 #ifndef NT_GNU_BUILD_ID 00043 #define NT_GNU_BUILD_ID 3 00044 #endif 00045 00046 #endif // COMMON_LINUX_ELF_GNU_COMPAT_H_