|
Aegis
4.25.D505
|
00001 // 00002 // aegis - project change supervisor 00003 // Copyright (C) 2006, 2008 Peter Miller 00004 // Copyright (C) 2004 Walter Franzini; 00005 // 00006 // This program is free software; you can redistribute it and/or modify 00007 // it under the terms of the GNU General Public License as published by 00008 // the Free Software Foundation; either version 3 of the License, or 00009 // (at your option) any later version. 00010 // 00011 // This program is distributed in the hope that it will be useful, 00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 // GNU General Public License for more details. 00015 // 00016 // You should have received a copy of the GNU General Public License 00017 // along with this program. If not, see 00018 // <http://www.gnu.org/licenses/>. 00019 // 00020 00021 #ifndef COMMON_AC_UUID_H 00022 #define COMMON_AC_UUID_H 00023 00024 #include <common/config.h> 00025 00026 #if HAVE_DCE_UUID_H && HAVE_UUID_CREATE && HAVE_UUID_TO_STRING 00027 #include <dce/uuid.h> 00028 #define UUID_FLAVOR_SET 1 00029 #define UUID_IS_DCE 1 00030 00031 #elif HAVE_UUID_H 00032 #include <uuid.h> 00033 00034 #elif HAVE_UUID_UUID_H 00035 #include <uuid/uuid.h> 00036 00037 #elif HAVE_SYS_UUID_H 00038 extern "C" { 00039 #include <sys/uuid.h> 00040 } 00041 #endif 00042 00043 #if HAVE_UUID_CREATE && HAVE_UUID_MAKE && HAVE_UUID_EXPORT 00044 #ifdef UUID_FLAVOR_SET 00045 #error Too many uuid library found 00046 #endif 00047 #define UUID_FLAVOR_SET 1 00048 #define UUID_IS_OSSP 1 00049 #endif 00050 00051 00052 #if HAVE_UUID_GENERATE && HAVE_UUID_UNPARSE 00053 #ifdef UUID_FLAVOR_SET 00054 #error Too many uuid library found 00055 #endif 00056 #define UUID_FLAVOR_SET 1 00057 #define UUID_IS_E2FS 1 00058 #endif 00059 00060 #if HAVE_LINUX_UUID 00061 #ifndef UUID_FLAVOR_SET 00062 #define UUID_IS_LINUX 1 00063 #endif 00064 #endif 00065 00066 00067 #endif // COMMON_AC_UUID_H
1.7.6.1