Avoiding <stdint.h> if not available. Trying to use <inttypes.h> in that case.

master
Thomas Schmitt 12 years ago
parent 2e447207a8
commit 5b386c57a3
  1. 7
      xorriso/base_obj.c
  2. 9
      xorriso/lib_mgt.c
  3. 9
      xorriso/write_run.c
  4. 6
      xorriso/xorriso_private.h
  5. 2
      xorriso/xorriso_timestamp.h

@ -25,7 +25,14 @@
#include <sys/time.h>
#include <time.h>
#include <errno.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
#else
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
#endif
#endif
#ifdef Xorriso_standalonE

@ -1,7 +1,7 @@
/* xorriso - creates, loads, manipulates and burns ISO 9660 filesystem images.
Copyright 2007-2010 Thomas Schmitt, <scdbackup@gmx.net>
Copyright 2007-2011 Thomas Schmitt, <scdbackup@gmx.net>
Provided under GPL version 2 or later.
@ -23,7 +23,14 @@
#include <sys/time.h>
#include <time.h>
#include <errno.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
#else
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
#endif
#endif
/* for -charset */
#include <iconv.h>

@ -2,7 +2,7 @@
/* xorriso - creates, loads, manipulates and burns ISO 9660 filesystem images.
Copyright 2007-2010 Thomas Schmitt, <scdbackup@gmx.net>
Copyright 2007-2011 Thomas Schmitt, <scdbackup@gmx.net>
Provided under GPL version 2 or later.
@ -25,7 +25,14 @@
#include <errno.h>
#include <fcntl.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
#else
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
#endif
#endif
#ifdef Xorriso_standalonE

@ -20,7 +20,13 @@
/* for uint32_t */
#ifdef HAVE_STDINT_H
#include <stdint.h>
#else
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
#endif
#endif
/** The source code release timestamp */

@ -1 +1 @@
#define Xorriso_timestamP "2011.01.18.154443"
#define Xorriso_timestamP "2011.01.18.154717"

Loading…
Cancel
Save