Ignore:
Timestamp:
Apr 24, 2006, 10:56:07 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Win32 compilation fix.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/common.h

    r861 r863  
    1818 */
    1919
    20 #if !defined(HAVE_INTTYPES_H)
     20#if defined(HAVE_INTTYPES_H)
     21#   include <inttypes.h>
     22#else
    2123typedef signed char int8_t;
    2224typedef signed short int16_t;
     
    3537#       include <endian.h>
    3638#   endif
    37 static extern inline uint16_t htons(uint16_t x)
     39static inline uint16_t htons(uint16_t x)
    3840{
    3941#if defined(HAVE_ENDIAN_H)
     
    4951}
    5052
    51 static extern inline uint32_t htonl(uint32_t x)
     53static inline uint32_t htonl(uint32_t x)
    5254{
    5355#if defined(HAVE_ENDIAN_H)
Note: See TracChangeset for help on using the changeset viewer.