Systems for MySQL
The world's most popular open source database
Contact a MySQL Representative
Login | Register
Learn about new MySQL releases, technical articles, events and more.
00001 #ifndef __LIBEDIT_COMPATH_H 00002 #define __LIBEDIT_COMPATH_H 00003 00004 #define __RCSID(x) 00005 #define __COPYRIGHT(x) 00006 00007 #include "compat_conf.h" 00008 00009 #ifndef HAVE_VIS_H 00010 /* string visual representation - may want to reimplement */ 00011 #define strvis(d,s,m) strcpy(d,s) 00012 #define strunvis(d,s) strcpy(d,s) 00013 #endif 00014 00015 #ifndef HAVE_FGETLN 00016 #include "fgetln.h" 00017 #endif 00018 00019 #ifndef HAVE_ISSETUGID 00020 #define issetugid() (getuid()!=geteuid() || getegid()!=getgid()) 00021 #endif 00022 00023 #ifndef HAVE_STRLCPY 00024 #include "strlcpy.h" 00025 #endif 00026 00027 #if HAVE_SYS_CDEFS_H 00028 #include <sys/cdefs.h> 00029 #endif 00030 00031 #ifndef __P 00032 #ifdef __STDC__ 00033 #define __P(x) x 00034 #else 00035 #define __P(x) () 00036 #endif 00037 #endif 00038 00039 #if !defined(__attribute__) && (defined(__cplusplus) || !defined(__GNUC__) || __GNUC__ == 2 && __GNUC_MINOR__ < 8) 00040 #define __attribute__(A) 00041 #endif 00042 00043 #endif