Ignore:
Timestamp:
Nov 12, 2006, 4:26:13 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • Got rid of HAVE_ERRNO_H ifdefs by defining seterrno()/geterrno() functions.
  • More debugging information in the import/export and font functions.
File:
1 edited

Legend:

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

    r1347 r1362  
    2121
    2222#if !defined(__KERNEL__)
    23 #   if defined(HAVE_ERRNO_H)
    24 #       include <errno.h>
    25 #   endif
    2623#   include <stdio.h>
    2724#   include <stdlib.h>
     
    8986    if(!ex)
    9087    {
    91 #if defined(HAVE_ERRNO_H)
    92         errno = ENOMEM;
    93 #endif
     88        seterrno(ENOMEM);
    9489        return NULL;
    9590    }
Note: See TracChangeset for help on using the changeset viewer.