Changeset 352ebfc1f4d9b5a78d0eaf86accaf24fe6edc19c

Show
Ignore:
Timestamp:
04/02/08 19:59:46 (8 months ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1202151586 +0000
git-parent:

[63b746af7fabdb99efcb615981ba47d00b555173]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1202151586 +0000
Message:

if -> ifdef

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/text/charset.c

    rb3aad8e r352ebfc  
    240240#if !(defined WIN32 || defined OS2 || defined __APPLE__) 
    241241 
    242 # if HAVE_LANGINFO_CODESET 
     242# ifdef HAVE_LANGINFO_CODESET 
    243243    /* Most systems support nl_langinfo( CODESET ) nowadays.  */ 
    244244    psz_codeset = nl_langinfo( CODESET ); 
     
    254254     * use setlocale here; it would return "C" when it doesn't support the 
    255255     * locale name the user has set. Darwin's setlocale is broken. */ 
    256 #  if HAVE_SETLOCALE && !__APPLE__ 
     256#  if defined (HAVE_SETLOCALE) && !defined (__APPLE__) 
    257257    psz_locale = setlocale( LC_ALL, NULL ); 
    258258#  endif