SM0 She11
Path:
/
/
usr
/
include
Full Path (server): /usr/include
Create Fil3
Upl04d Fil3
📄 FlexLexer.h
[E]
[D]
[R]
📁 GL
Open
[D]
[R]
📁 ImageMagick-6
Open
[D]
[R]
📁 X11
Open
[D]
[R]
📄 _G_config.h
[E]
[D]
[R]
📄 a.out.h
[E]
[D]
[R]
📄 aio.h
[E]
[D]
[R]
📄 aliases.h
[E]
[D]
[R]
📄 alloca.h
[E]
[D]
[R]
📁 apr-1
Open
[D]
[R]
📄 ar.h
[E]
[D]
[R]
📄 argon2.h
[E]
[D]
[R]
📄 argp.h
[E]
[D]
[R]
📄 argz.h
[E]
[D]
[R]
📁 arpa
Open
[D]
[R]
📁 asm
Open
[D]
[R]
📁 asm-generic
Open
[D]
[R]
📄 aspell.h
[E]
[D]
[R]
📄 assert.h
[E]
[D]
[R]
📁 bits
Open
[D]
[R]
📄 buffio.h
[E]
[D]
[R]
📄 byteswap.h
[E]
[D]
[R]
📄 bzlib.h
[E]
[D]
[R]
📁 c++
Open
[D]
[R]
📄 com_err.h
[E]
[D]
[R]
📄 complex.h
[E]
[D]
[R]
📄 cpio.h
[E]
[D]
[R]
📄 cpufreq.h
[E]
[D]
[R]
📄 crypt.h
[E]
[D]
[R]
📄 ctype.h
[E]
[D]
[R]
📁 curl
Open
[D]
[R]
📄 curses.h
[E]
[D]
[R]
📄 cursesapp.h
[E]
[D]
[R]
📄 cursesf.h
[E]
[D]
[R]
📄 cursesm.h
[E]
[D]
[R]
📄 cursesp.h
[E]
[D]
[R]
📄 cursesw.h
[E]
[D]
[R]
📄 cursslk.h
[E]
[D]
[R]
📄 db.h
[E]
[D]
[R]
📄 db_185.h
[E]
[D]
[R]
📄 dbm.h
[E]
[D]
[R]
📄 dirent.h
[E]
[D]
[R]
📄 dlfcn.h
[E]
[D]
[R]
📁 drm
Open
[D]
[R]
📄 dwarf.h
[E]
[D]
[R]
📄 ecpg_config.h
[E]
[D]
[R]
📄 ecpg_config_x86_64.h
[E]
[D]
[R]
📄 ecpg_informix.h
[E]
[D]
[R]
📄 ecpgerrno.h
[E]
[D]
[R]
📄 ecpglib.h
[E]
[D]
[R]
📄 ecpgtype.h
[E]
[D]
[R]
📁 editline
Open
[D]
[R]
📄 elf.h
[E]
[D]
[R]
📁 elfutils
Open
[D]
[R]
📁 enchant
Open
[D]
[R]
📄 endian.h
[E]
[D]
[R]
📄 envz.h
[E]
[D]
[R]
📄 err.h
[E]
[D]
[R]
📄 errno.h
[E]
[D]
[R]
📄 error.h
[E]
[D]
[R]
📁 et
Open
[D]
[R]
📄 eti.h
[E]
[D]
[R]
📄 etip.h
[E]
[D]
[R]
📄 execinfo.h
[E]
[D]
[R]
📄 expat.h
[E]
[D]
[R]
📄 expat_external.h
[E]
[D]
[R]
📄 fcntl.h
[E]
[D]
[R]
📄 features.h
[E]
[D]
[R]
📄 fenv.h
[E]
[D]
[R]
📄 fmtmsg.h
[E]
[D]
[R]
📄 fnmatch.h
[E]
[D]
[R]
📄 form.h
[E]
[D]
[R]
📄 fpu_control.h
[E]
[D]
[R]
📁 freetype2
Open
[D]
[R]
📄 fstab.h
[E]
[D]
[R]
📄 fts.h
[E]
[D]
[R]
📄 ftw.h
[E]
[D]
[R]
📄 gconv.h
[E]
[D]
[R]
📄 gcrypt-module.h
[E]
[D]
[R]
📄 gcrypt.h
[E]
[D]
[R]
📁 gdbm
Open
[D]
[R]
📄 gdbm.h
[E]
[D]
[R]
📄 gelf.h
[E]
[D]
[R]
📄 getopt.h
[E]
[D]
[R]
📁 ghostscript
Open
[D]
[R]
📁 gio-unix-2.0
Open
[D]
[R]
📁 glib-2.0
Open
[D]
[R]
📄 glob.h
[E]
[D]
[R]
📄 gmp-mparam-x86_64.h
[E]
[D]
[R]
📄 gmp-mparam.h
[E]
[D]
[R]
📄 gmp-x86_64.h
[E]
[D]
[R]
📄 gmp.h
[E]
[D]
[R]
📄 gmpxx.h
[E]
[D]
[R]
📁 gnu
Open
[D]
[R]
📄 gnu-versions.h
[E]
[D]
[R]
📄 gpg-error.h
[E]
[D]
[R]
📄 grp.h
[E]
[D]
[R]
📄 gshadow.h
[E]
[D]
[R]
📁 gssapi
Open
[D]
[R]
📄 gssapi.h
[E]
[D]
[R]
📁 gssrpc
Open
[D]
[R]
📄 histedit.h
[E]
[D]
[R]
📄 iconv.h
[E]
[D]
[R]
📄 ieee754.h
[E]
[D]
[R]
📄 ifaddrs.h
[E]
[D]
[R]
📁 ijs
Open
[D]
[R]
📁 imap
Open
[D]
[R]
📄 inttypes.h
[E]
[D]
[R]
📁 jasper
Open
[D]
[R]
📄 jconfig.h
[E]
[D]
[R]
📄 jerror.h
[E]
[D]
[R]
📄 jmorecfg.h
[E]
[D]
[R]
📄 jpeglib.h
[E]
[D]
[R]
📁 kadm5
Open
[D]
[R]
📄 kdb.h
[E]
[D]
[R]
📄 keyutils.h
[E]
[D]
[R]
📄 krad.h
[E]
[D]
[R]
📁 krb5
Open
[D]
[R]
📄 krb5.h
[E]
[D]
[R]
📄 langinfo.h
[E]
[D]
[R]
📄 lastlog.h
[E]
[D]
[R]
📁 layout
Open
[D]
[R]
📄 lber.h
[E]
[D]
[R]
📄 lber_types.h
[E]
[D]
[R]
📄 ldap.h
[E]
[D]
[R]
📄 ldap_cdefs.h
[E]
[D]
[R]
📄 ldap_features.h
[E]
[D]
[R]
📄 ldap_schema.h
[E]
[D]
[R]
📄 ldap_utf8.h
[E]
[D]
[R]
📄 ldif.h
[E]
[D]
[R]
📁 libdb
Open
[D]
[R]
📁 libdb4
Open
[D]
[R]
📄 libelf.h
[E]
[D]
[R]
📁 libexslt
Open
[D]
[R]
📄 libgen.h
[E]
[D]
[R]
📄 libintl.h
[E]
[D]
[R]
📄 libio.h
[E]
[D]
[R]
📁 libltdl
Open
[D]
[R]
📁 libpng15
Open
[D]
[R]
📁 libpq
Open
[D]
[R]
📄 libpq-events.h
[E]
[D]
[R]
📄 libpq-fe.h
[E]
[D]
[R]
📁 libxml2
Open
[D]
[R]
📁 libxslt
Open
[D]
[R]
📄 limits.h
[E]
[D]
[R]
📄 link.h
[E]
[D]
[R]
📁 linux
Open
[D]
[R]
📄 locale.h
[E]
[D]
[R]
📄 ltdl.h
[E]
[D]
[R]
📁 lzma
Open
[D]
[R]
📄 lzma.h
[E]
[D]
[R]
📄 malloc.h
[E]
[D]
[R]
📄 math.h
[E]
[D]
[R]
📄 mcheck.h
[E]
[D]
[R]
📄 mcrypt.h
[E]
[D]
[R]
📄 memory.h
[E]
[D]
[R]
📄 menu.h
[E]
[D]
[R]
📁 misc
Open
[D]
[R]
📄 mntent.h
[E]
[D]
[R]
📄 monetary.h
[E]
[D]
[R]
📄 mqueue.h
[E]
[D]
[R]
📁 mtd
Open
[D]
[R]
📁 mutils
Open
[D]
[R]
📁 mysql
Open
[D]
[R]
📄 nc_tparm.h
[E]
[D]
[R]
📁 ncurses
Open
[D]
[R]
📄 ncurses.h
[E]
[D]
[R]
📄 ncurses_dll.h
[E]
[D]
[R]
📁 ncursesw
Open
[D]
[R]
📄 ndbm.h
[E]
[D]
[R]
📁 net
Open
[D]
[R]
📁 net-snmp
Open
[D]
[R]
📁 netash
Open
[D]
[R]
📁 netatalk
Open
[D]
[R]
📁 netax25
Open
[D]
[R]
📄 netdb.h
[E]
[D]
[R]
📁 neteconet
Open
[D]
[R]
📁 netinet
Open
[D]
[R]
📁 netipx
Open
[D]
[R]
📁 netiucv
Open
[D]
[R]
📁 netpacket
Open
[D]
[R]
📁 netrom
Open
[D]
[R]
📁 netrose
Open
[D]
[R]
📁 nfs
Open
[D]
[R]
📄 nl_types.h
[E]
[D]
[R]
📄 nlist.h
[E]
[D]
[R]
📄 nss.h
[E]
[D]
[R]
📄 obstack.h
[E]
[D]
[R]
📄 oniggnu.h
[E]
[D]
[R]
📄 onigposix.h
[E]
[D]
[R]
📄 oniguruma.h
[E]
[D]
[R]
📁 openssl
Open
[D]
[R]
📄 panel.h
[E]
[D]
[R]
📄 paths.h
[E]
[D]
[R]
📄 pcre.h
[E]
[D]
[R]
📄 pcre_scanner.h
[E]
[D]
[R]
📄 pcre_stringpiece.h
[E]
[D]
[R]
📄 pcrecpp.h
[E]
[D]
[R]
📄 pcrecpparg.h
[E]
[D]
[R]
📄 pcreposix.h
[E]
[D]
[R]
📄 pg_config.h
[E]
[D]
[R]
📄 pg_config_manual.h
[E]
[D]
[R]
📄 pg_config_os.h
[E]
[D]
[R]
📄 pg_config_x86_64.h
[E]
[D]
[R]
📁 pgsql
Open
[D]
[R]
📄 pgtypes_date.h
[E]
[D]
[R]
📄 pgtypes_error.h
[E]
[D]
[R]
📄 pgtypes_interval.h
[E]
[D]
[R]
📄 pgtypes_numeric.h
[E]
[D]
[R]
📄 pgtypes_timestamp.h
[E]
[D]
[R]
📄 platform.h
[E]
[D]
[R]
📄 png.h
[E]
[D]
[R]
📄 pngconf.h
[E]
[D]
[R]
📄 pnglibconf.h
[E]
[D]
[R]
📄 poll.h
[E]
[D]
[R]
📄 popt.h
[E]
[D]
[R]
📄 postgres_ext.h
[E]
[D]
[R]
📄 printf.h
[E]
[D]
[R]
📄 profile.h
[E]
[D]
[R]
📁 protocols
Open
[D]
[R]
📁 pspell
Open
[D]
[R]
📄 pthread.h
[E]
[D]
[R]
📄 pty.h
[E]
[D]
[R]
📄 pwd.h
[E]
[D]
[R]
📁 python2.7
Open
[D]
[R]
📁 python3.6m
Open
[D]
[R]
📁 rdma
Open
[D]
[R]
📄 re_comp.h
[E]
[D]
[R]
📁 readline
Open
[D]
[R]
📄 recode.h
[E]
[D]
[R]
📄 recodext.h
[E]
[D]
[R]
📄 regex.h
[E]
[D]
[R]
📄 regexp.h
[E]
[D]
[R]
📄 resolv.h
[E]
[D]
[R]
📁 rpc
Open
[D]
[R]
📁 rpcsvc
Open
[D]
[R]
📁 rpm
Open
[D]
[R]
📁 sasl
Open
[D]
[R]
📄 sched.h
[E]
[D]
[R]
📁 scsi
Open
[D]
[R]
📄 search.h
[E]
[D]
[R]
📁 selinux
Open
[D]
[R]
📄 semaphore.h
[E]
[D]
[R]
📁 sensors
Open
[D]
[R]
📁 sepol
Open
[D]
[R]
📄 setjmp.h
[E]
[D]
[R]
📄 sgtty.h
[E]
[D]
[R]
📄 shadow.h
[E]
[D]
[R]
📄 signal.h
[E]
[D]
[R]
📄 slapi-plugin.h
[E]
[D]
[R]
📁 sound
Open
[D]
[R]
📄 spawn.h
[E]
[D]
[R]
📄 sql3types.h
[E]
[D]
[R]
📄 sqlca.h
[E]
[D]
[R]
📄 sqlda-compat.h
[E]
[D]
[R]
📄 sqlda-native.h
[E]
[D]
[R]
📄 sqlda.h
[E]
[D]
[R]
📄 sqlite3.h
[E]
[D]
[R]
📄 sqlite3ext.h
[E]
[D]
[R]
📄 stab.h
[E]
[D]
[R]
📄 stdc-predef.h
[E]
[D]
[R]
📄 stdint.h
[E]
[D]
[R]
📄 stdio.h
[E]
[D]
[R]
📄 stdio_ext.h
[E]
[D]
[R]
📄 stdlib.h
[E]
[D]
[R]
📄 string.h
[E]
[D]
[R]
📄 strings.h
[E]
[D]
[R]
📁 sys
Open
[D]
[R]
📄 syscall.h
[E]
[D]
[R]
📄 sysexits.h
[E]
[D]
[R]
📄 syslog.h
[E]
[D]
[R]
📄 tar.h
[E]
[D]
[R]
📄 tcpd.h
[E]
[D]
[R]
📄 term.h
[E]
[D]
[R]
📄 term_entry.h
[E]
[D]
[R]
📄 termcap.h
[E]
[D]
[R]
📄 termio.h
[E]
[D]
[R]
📄 termios.h
[E]
[D]
[R]
📄 tgmath.h
[E]
[D]
[R]
📄 thread_db.h
[E]
[D]
[R]
📄 tic.h
[E]
[D]
[R]
📄 tidy.h
[E]
[D]
[R]
📄 tidybuffio.h
[E]
[D]
[R]
📄 tidyenum.h
[E]
[D]
[R]
📄 tidyplatform.h
[E]
[D]
[R]
📄 tiff.h
[E]
[D]
[R]
📄 tiffconf-64.h
[E]
[D]
[R]
📄 tiffconf.h
[E]
[D]
[R]
📄 tiffio.h
[E]
[D]
[R]
📄 tiffio.hxx
[E]
[D]
[R]
📄 tiffvers.h
[E]
[D]
[R]
📄 time.h
[E]
[D]
[R]
📄 ttyent.h
[E]
[D]
[R]
📁 uapi
Open
[D]
[R]
📁 ucd-snmp
Open
[D]
[R]
📄 uchar.h
[E]
[D]
[R]
📄 ucontext.h
[E]
[D]
[R]
📄 ulimit.h
[E]
[D]
[R]
📄 unctrl.h
[E]
[D]
[R]
📁 unicode
Open
[D]
[R]
📄 unistd.h
[E]
[D]
[R]
📄 ustat.h
[E]
[D]
[R]
📄 utime.h
[E]
[D]
[R]
📄 utmp.h
[E]
[D]
[R]
📄 utmpx.h
[E]
[D]
[R]
📁 uuid
Open
[D]
[R]
📄 values.h
[E]
[D]
[R]
📄 verto-module.h
[E]
[D]
[R]
📄 verto.h
[E]
[D]
[R]
📁 video
Open
[D]
[R]
📁 vpx
Open
[D]
[R]
📄 wait.h
[E]
[D]
[R]
📄 wchar.h
[E]
[D]
[R]
📄 wctype.h
[E]
[D]
[R]
📁 webp
Open
[D]
[R]
📄 wordexp.h
[E]
[D]
[R]
📁 xcb
Open
[D]
[R]
📁 xen
Open
[D]
[R]
📄 xlocale.h
[E]
[D]
[R]
📄 zconf.h
[E]
[D]
[R]
📄 zlib.h
[E]
[D]
[R]
Editing: tidyplatform.h
#ifndef __TIDY_PLATFORM_H__ #define __TIDY_PLATFORM_H__ /** @file tidyplatform.h - Platform specifics (c) 1998-2016 (W3C) MIT, ERCIM, Keio University See tidy.h for the copyright notice. This file is included by tidy.h, and need not be included sepearately. It sets a number of default defines, and a PLATFORM_NAME, and includes the most common system headers. */ #ifdef __cplusplus extern "C" { #endif /* Uncomment and edit one of the following #defines if you want to specify the config file at compile-time. */ /* #define TIDY_CONFIG_FILE "/etc/tidy_config.txt" */ /* original */ /* #define TIDY_CONFIG_FILE "/etc/tidyrc" */ /* #define TIDY_CONFIG_FILE "/etc/tidy.conf" */ /* Uncomment the following #define if you are on a system supporting the HOME environment variable. It enables tidy to find config files named ~/.tidyrc if the HTML_TIDY environment variable is not set. */ /* #define TIDY_USER_CONFIG_FILE "~/.tidyrc" */ /* Uncomment the following #define if your system supports the call getpwnam(). E.g. Unix and Linux. It enables tidy to find files named ~your/foo for use in the HTML_TIDY environment variable or CONFIG_FILE or USER_CONFIGFILE or on the command line: -config ~joebob/tidy.cfg Contributed by Todd Lewis. */ /* #define SUPPORT_GETPWNAM */ /* Enable/disable support for Big5 and Shift_JIS character encodings */ #ifndef SUPPORT_ASIAN_ENCODINGS #define SUPPORT_ASIAN_ENCODINGS 1 #endif /* Enable/disable support for UTF-16 character encodings */ #ifndef SUPPORT_UTF16_ENCODINGS #define SUPPORT_UTF16_ENCODINGS 1 #endif /* Enable/disable support for additional accessibility checks */ #ifndef SUPPORT_ACCESSIBILITY_CHECKS #define SUPPORT_ACCESSIBILITY_CHECKS 1 #endif /* Enable/disable support for additional languages */ #ifndef SUPPORT_LOCALIZATIONS #define SUPPORT_LOCALIZATIONS 1 #endif /* Convenience defines for Mac platforms */ #if defined(macintosh) /* Mac OS 6.x/7.x/8.x/9.x, with or without CarbonLib - MPW or Metrowerks 68K/PPC compilers */ #define MAC_OS_CLASSIC #ifndef PLATFORM_NAME #define PLATFORM_NAME "Mac OS" #endif /* needed for access() */ #if !defined(_POSIX) && !defined(NO_ACCESS_SUPPORT) #define NO_ACCESS_SUPPORT #endif #ifdef SUPPORT_GETPWNAM #undef SUPPORT_GETPWNAM #endif #elif defined(__APPLE__) && defined(__MACH__) /* Mac OS X (client) 10.x (or server 1.x/10.x) - gcc or Metrowerks MachO compilers */ #define MAC_OS_X #ifndef PLATFORM_NAME #define PLATFORM_NAME "Mac OS X" #endif #endif #if defined(MAC_OS_CLASSIC) || defined(MAC_OS_X) /* Any OS on Mac platform */ #define MAC_OS #define FILENAMES_CASE_SENSITIVE 0 #define strcasecmp strcmp #endif /* Convenience defines for BSD like platforms */ #if defined(__FreeBSD__) #define BSD_BASED_OS #ifndef PLATFORM_NAME #define PLATFORM_NAME "FreeBSD" #endif #elif defined(__NetBSD__) #define BSD_BASED_OS #ifndef PLATFORM_NAME #define PLATFORM_NAME "NetBSD" #endif #elif defined(__OpenBSD__) #define BSD_BASED_OS #ifndef PLATFORM_NAME #define PLATFORM_NAME "OpenBSD" #endif #elif defined(__DragonFly__) #define BSD_BASED_OS #ifndef PLATFORM_NAME #define PLATFORM_NAME "DragonFly" #endif #elif defined(__MINT__) #define BSD_BASED_OS #ifndef PLATFORM_NAME #define PLATFORM_NAME "FreeMiNT" #endif #elif defined(__bsdi__) #define BSD_BASED_OS #ifndef PLATFORM_NAME #define PLATFORM_NAME "BSD/OS" #endif #endif /* Convenience defines for Windows platforms */ #if defined(WINDOWS) || defined(_WIN32) #define WINDOWS_OS #ifndef PLATFORM_NAME #define PLATFORM_NAME "Windows" #endif #if defined(__MWERKS__) || defined(__MSL__) /* not available with Metrowerks Standard Library */ #ifdef SUPPORT_GETPWNAM #undef SUPPORT_GETPWNAM #endif /* needed for setmode() */ #if !defined(NO_SETMODE_SUPPORT) #define NO_SETMODE_SUPPORT #endif #define strcasecmp _stricmp #endif #if defined(__BORLANDC__) #define strcasecmp stricmp #endif #define FILENAMES_CASE_SENSITIVE 0 #define SUPPORT_POSIX_MAPPED_FILES 0 #endif /* Convenience defines for Linux platforms */ #if defined(linux) && defined(__alpha__) /* Linux on Alpha - gcc compiler */ #define LINUX_OS #ifndef PLATFORM_NAME #define PLATFORM_NAME "Linux/Alpha" #endif #elif defined(linux) && defined(__sparc__) /* Linux on Sparc - gcc compiler */ #define LINUX_OS #ifndef PLATFORM_NAME #define PLATFORM_NAME "Linux/Sparc" #endif #elif defined(linux) && (defined(__i386__) || defined(__i486__) || defined(__i586__) || defined(__i686__)) /* Linux on x86 - gcc compiler */ #define LINUX_OS #ifndef PLATFORM_NAME #define PLATFORM_NAME "Linux/x86" #endif #elif defined(linux) && defined(__powerpc__) /* Linux on PPC - gcc compiler */ #define LINUX_OS #if defined(__linux__) && defined(__powerpc__) /* #if #system(linux) */ /* MkLinux on PPC - gcc (egcs) compiler */ /* #define MAC_OS_MKLINUX */ #ifndef PLATFORM_NAME #define PLATFORM_NAME "MkLinux" #endif #else #ifndef PLATFORM_NAME #define PLATFORM_NAME "Linux/PPC" #endif #endif #elif defined(linux) || defined(__linux__) /* generic Linux */ #define LINUX_OS #ifndef PLATFORM_NAME #define PLATFORM_NAME "Linux" #endif #endif /* Convenience defines for Solaris platforms */ #if defined(sun) #define SOLARIS_OS #ifndef PLATFORM_NAME #define PLATFORM_NAME "Solaris" #endif #endif /* Convenience defines for HPUX + gcc platforms */ #if defined(__hpux) #define HPUX_OS #ifndef PLATFORM_NAME #define PLATFORM_NAME "HPUX" #endif #endif /* Convenience defines for RISCOS + gcc platforms */ #if defined(__riscos__) #define RISC_OS #ifndef PLATFORM_NAME #define PLATFORM_NAME "RISC OS" #endif #endif /* Convenience defines for OS/2 + icc/gcc platforms */ #if defined(__OS2__) || defined(__EMX__) #define OS2_OS #ifndef PLATFORM_NAME #define PLATFORM_NAME "OS/2" #endif #define FILENAMES_CASE_SENSITIVE 0 #define strcasecmp stricmp #endif /* Convenience defines for IRIX */ #if defined(__sgi) #define IRIX_OS #ifndef PLATFORM_NAME #define PLATFORM_NAME "SGI IRIX" #endif #endif /* Convenience defines for AIX */ #if defined(_AIX) #define AIX_OS #ifndef PLATFORM_NAME #define PLATFORM_NAME "IBM AIX" #endif #endif /* Convenience defines for BeOS platforms */ #if defined(__BEOS__) #define BE_OS #ifndef PLATFORM_NAME #define PLATFORM_NAME "BeOS" #endif #endif /* Convenience defines for Cygwin platforms */ #if defined(__CYGWIN__) #define CYGWIN_OS #ifndef PLATFORM_NAME #define PLATFORM_NAME "Cygwin" #endif #define FILENAMES_CASE_SENSITIVE 0 #endif /* Convenience defines for OpenVMS */ #if defined(__VMS) #define OPENVMS_OS #ifndef PLATFORM_NAME #define PLATFORM_NAME "OpenVMS" #endif #define FILENAMES_CASE_SENSITIVE 0 #endif /* Convenience defines for DEC Alpha OSF + gcc platforms */ #if defined(__osf__) #define OSF_OS #ifndef PLATFORM_NAME #define PLATFORM_NAME "DEC Alpha OSF" #endif #endif /* Convenience defines for ARM platforms */ #if defined(__arm) #define ARM_OS #if defined(forARM) && defined(__NEWTON_H) /* Using Newton C++ Tools ARMCpp compiler */ #define NEWTON_OS #ifndef PLATFORM_NAME #define PLATFORM_NAME "Newton" #endif #else #ifndef PLATFORM_NAME #define PLATFORM_NAME "ARM" #endif #endif #endif #include <ctype.h> #include <stdio.h> #include <setjmp.h> /* for longjmp on error exit */ #include <stdlib.h> #include <stdarg.h> /* may need <varargs.h> for Unix V */ #include <string.h> #include <assert.h> #ifdef NEEDS_MALLOC_H #include <malloc.h> #endif #ifdef SUPPORT_GETPWNAM #include <pwd.h> #endif #ifdef NEEDS_UNISTD_H #include <unistd.h> /* needed for unlink on some Unix systems */ #endif /* By default, use case-sensitive filename comparison. */ #ifndef FILENAMES_CASE_SENSITIVE #define FILENAMES_CASE_SENSITIVE 1 #endif /* Tidy preserves the last modified time for the files it cleans up. */ /* If your platform doesn't support <utime.h> and the utime() function, or <sys/futime> and the futime() function then set PRESERVE_FILE_TIMES to 0. If your platform doesn't support <sys/utime.h> and the futime() function, then set HAS_FUTIME to 0. If your platform supports <utime.h> and the utime() function requires the file to be closed first, then set UTIME_NEEDS_CLOSED_FILE to 1. */ /* Keep old PRESERVEFILETIMES define for compatibility */ #ifdef PRESERVEFILETIMES #undef PRESERVE_FILE_TIMES #define PRESERVE_FILE_TIMES PRESERVEFILETIMES #endif #ifndef PRESERVE_FILE_TIMES #if defined(RISC_OS) || defined(OPENVMS_OS) || defined(OSF_OS) #define PRESERVE_FILE_TIMES 0 #else #define PRESERVE_FILE_TIMES 1 #endif #endif #if PRESERVE_FILE_TIMES #ifndef HAS_FUTIME #if defined(CYGWIN_OS) || defined(BE_OS) || defined(OS2_OS) || defined(HPUX_OS) || defined(SOLARIS_OS) || defined(LINUX_OS) || defined(BSD_BASED_OS) || defined(MAC_OS) || defined(__MSL__) || defined(IRIX_OS) || defined(AIX_OS) || defined(__BORLANDC__) || defined(__GLIBC__) #define HAS_FUTIME 0 #else #define HAS_FUTIME 1 #endif #endif #ifndef UTIME_NEEDS_CLOSED_FILE #if defined(SOLARIS_OS) || defined(BSD_BASED_OS) || defined(MAC_OS) || defined(__MSL__) || defined(LINUX_OS) #define UTIME_NEEDS_CLOSED_FILE 1 #else #define UTIME_NEEDS_CLOSED_FILE 0 #endif #endif #if defined(MAC_OS_X) || (!defined(MAC_OS_CLASSIC) && !defined(__MSL__)) #include <sys/types.h> #include <sys/stat.h> #else #include <stat.h> #endif #if HAS_FUTIME #include <sys/utime.h> #else #include <utime.h> #endif /* HASFUTIME */ /* MS Windows needs _ prefix for Unix file functions. Not required by Metrowerks Standard Library (MSL). Tidy uses following for preserving the last modified time. WINDOWS automatically set by Win16 compilers. _WIN32 automatically set by Win32 compilers. */ #if defined(_WIN32) && !defined(__MSL__) && !defined(__BORLANDC__) #define futime _futime #define fstat _fstat #define utimbuf _utimbuf /* Windows seems to want utimbuf */ #define stat _stat #define utime _utime #define vsnprintf _vsnprintf #endif /* _WIN32 */ #endif /* PRESERVE_FILE_TIMES */ /* MS Windows needs _ prefix for Unix file functions. Not required by Metrowerks Standard Library (MSL). WINDOWS automatically set by Win16 compilers. _WIN32 automatically set by Win32 compilers. */ #if defined(_WIN32) && !defined(__MSL__) && !defined(__BORLANDC__) #if !(defined(__WATCOMC__) || defined(__MINGW32__)) #define fileno _fileno #define setmode _setmode #endif #define access _access #define strcasecmp _stricmp #ifndef va_copy #define va_copy(dest, src) (dest = src) #endif #if _MSC_VER > 1000 #pragma warning( disable : 4189 ) /* local variable is initialized but not referenced */ #pragma warning( disable : 4100 ) /* unreferenced formal parameter */ #pragma warning( disable : 4706 ) /* assignment within conditional expression */ #endif #if _MSC_VER > 1300 #pragma warning( disable : 4996 ) /* disable depreciation warning */ #endif #endif /* _WIN32 */ #if defined(_WIN32) #if (defined(_USRDLL) || defined(_WINDLL) || defined(BUILD_SHARED_LIB)) && !defined(TIDY_EXPORT) && !defined(TIDY_STATIC) #ifdef BUILDING_SHARED_LIB #define TIDY_EXPORT __declspec( dllexport ) #else #define TIDY_EXPORT __declspec( dllimport ) #endif #else #define TIDY_EXPORT extern #endif #ifndef TIDY_CALL #ifdef _WIN64 # define TIDY_CALL __fastcall #else # define TIDY_CALL __stdcall #endif #endif #endif /* _WIN32 */ /* hack for gnu sys/types.h file which defines uint and ulong */ #if defined(BE_OS) || defined(SOLARIS_OS) || defined(BSD_BASED_OS) || defined(OSF_OS) || defined(IRIX_OS) || defined(AIX_OS) #include <sys/types.h> #endif #if !defined(HPUX_OS) && !defined(CYGWIN_OS) && !defined(MAC_OS_X) && !defined(BE_OS) && !defined(SOLARIS_OS) && !defined(BSD_BASED_OS) && !defined(OSF_OS) && !defined(IRIX_OS) && !defined(AIX_OS) && !defined(LINUX_OS) # undef uint typedef unsigned int uint; #endif #if defined(HPUX_OS) || defined(CYGWIN_OS) || defined(MAC_OS) || defined(BSD_BASED_OS) || defined(_WIN32) # undef ulong typedef unsigned long ulong; #endif /* With GCC 4, __attribute__ ((visibility("default"))) can be used along compiling with tidylib with "-fvisibility=hidden". See http://gcc.gnu.org/wiki/Visibility and build/gmake/Makefile. */ /* #if defined(__GNUC__) && __GNUC__ >= 4 #define TIDY_EXPORT __attribute__ ((visibility("default"))) #endif */ #ifndef TIDY_EXPORT /* Define it away for most builds */ #define TIDY_EXPORT #endif #ifndef TIDY_STRUCT #define TIDY_STRUCT #endif typedef unsigned char byte; typedef uint tchar; /* single, full character */ typedef char tmbchar; /* single, possibly partial character */ #ifndef TMBSTR_DEFINED typedef tmbchar* tmbstr; /* pointer to buffer of possibly partial chars */ typedef const tmbchar* ctmbstr; /* Ditto, but const */ #define NULLSTR (tmbstr)"" #define TMBSTR_DEFINED #endif #ifndef TIDY_CALL #define TIDY_CALL #endif #if defined(__GNUC__) || defined(__INTEL_COMPILER) # define ARG_UNUSED(x) x __attribute__((unused)) #else # define ARG_UNUSED(x) x #endif /* HAS_VSNPRINTF triggers the use of "vsnprintf", which is safe related to buffer overflow. Therefore, we make it the default unless HAS_VSNPRINTF has been defined. */ #ifndef HAS_VSNPRINTF # define HAS_VSNPRINTF 1 #endif #ifndef SUPPORT_POSIX_MAPPED_FILES # define SUPPORT_POSIX_MAPPED_FILES 1 #endif /* bool is a reserved word in some but not all C++ compilers depending on age work around is to avoid bool altogether by introducing a new enum called Bool */ /* We could use the C99 definition where supported typedef _Bool Bool; #define no (_Bool)0 #define yes (_Bool)1 */ typedef enum { no, yes } Bool; /* for NULL pointers #define null ((const void*)0) extern void* null; */ #if defined(DMALLOC) #include "dmalloc.h" #endif /* Opaque data structure. * Cast to implementation type struct within lib. * This will reduce inter-dependencies/conflicts w/ application code. */ #if 1 #define opaque_type( typenam )\ struct _##typenam { int _opaque; };\ typedef struct _##typenam const * typenam #else #define opaque_type(typenam) typedef const void* typenam #endif /* Opaque data structure used to pass back ** and forth to keep current position in a ** list or other collection. */ opaque_type( TidyIterator ); #ifdef __cplusplus } /* extern "C" */ #endif #endif /* __TIDY_PLATFORM_H__ */ /* * local variables: * mode: c * indent-tabs-mode: nil * c-basic-offset: 4 * eval: (c-set-offset 'substatement-open 0) * end: */
Save