Cosmetic : moved the basename(3) redefinition to a better location

basename(3) is not available on OpenIndiana and had to be redefined.
Just move the redefinition to a more standard location
edge.strict_endians
Jean-Pierre André 2012-03-21 19:09:52 +01:00
parent 2b779a6510
commit 37ae85a9d5
1 changed files with 5 additions and 5 deletions

View File

@ -140,6 +140,11 @@
#include "unistr.h"
#include "misc.h"
#if defined(__sun) && defined (__SVR4)
#undef basename
#define basename(name) name
#endif
typedef enum { WRITE_STANDARD, WRITE_BITMAP, WRITE_LOGFILE } WRITE_TYPE;
#ifdef NO_NTFS_DEVICE_DEFAULT_IO_OPS
@ -167,11 +172,6 @@ static int g_mft_bitmap_byte_size = 0;
static u8 *g_mft_bitmap = NULL;
static int g_lcn_bitmap_byte_size = 0;
static int g_dynamic_buf_size = 0;
#if defined(__sun) && defined (__SVR4)
#undef basename
#define basename(name) name
#endif
static u8 *g_dynamic_buf = NULL;
static runlist *g_rl_mft = NULL;
static runlist *g_rl_mft_bmp = NULL;