Changeset 2225 for libcaca


Ignore:
Timestamp:
Feb 3, 2008, 10:53:40 PM (13 years ago)
Author:
bsittler
Message:

build on Mac OS X again

Location:
libcaca/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/cucul/figfont.c

    r2191 r2225  
    305305    f = _cucul_file_open(path, "r");
    306306#if !defined __KERNEL__ && defined HAVE_SNPRINTF
     307
     308#if (! defined(snprintf)) && ( defined(_WIN32) || defined(WIN32) ) && (! defined(__CYGWIN__))
     309#define snprintf _snprintf
     310#endif
     311
    307312    if(!f)
    308313    {
    309         _snprintf(altpath, 2047, "%s.tlf", path);
     314        snprintf(altpath, 2047, "%s.tlf", path);
    310315        altpath[2047] = '\0';
    311316        f = _cucul_file_open(altpath, "r");
     
    313318    if(!f)
    314319    {
    315         _snprintf(altpath, 2047, "%s.flf", path);
     320        snprintf(altpath, 2047, "%s.flf", path);
    316321        altpath[2047] = '\0';
    317322        f = _cucul_file_open(altpath, "r");
  • libcaca/trunk/src/mygetopt.c

    r1905 r2225  
    2727/* DOS / Kernel driver */
    2828#ifndef __intptr_t_defined
     29#ifndef _UINTPTR_T
    2930typedef unsigned int            uintptr_t;
     31#endif
    3032#endif
    3133
Note: See TracChangeset for help on using the changeset viewer.