Ignore:
Timestamp:
Oct 2, 2007, 11:35:22 PM (18 years ago)
Author:
bird
Message:

Made it build on darwin - leaving a couple of things for later...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kStuff/kHlp/Bare/kHlpBareAssert.c

    r3582 r3594  
    3131#include <k/kHlpString.h>
    3232
    33 #if K_OS == K_OS_OS2
     33#if K_OS == K_OS_DARWIN
     34extern kHlpSys_write(int fd, const void *buf, KSIZE);
     35
     36#elif K_OS == K_OS_OS2
    3437# define INCL_BASE
    3538# define INCL_ERRORS
     
    5154static void kHlpAssertWrite(const char *pszMsg)
    5255{
    53 #if K_OS == K_OS_OS2 ||  K_OS == K_OS_WINDOWS
     56#if K_OS == K_OS_DARWIN
     57    KSIZE cchMsg = kHlpStrLen(pszMsg);
     58    kHlpSys_write(2 /* stderr */, pszMsg, cchMsg);
     59
     60#elif K_OS == K_OS_OS2 ||  K_OS == K_OS_WINDOWS
    5461    /*
    5562     * Line by line.
Note: See TracChangeset for help on using the changeset viewer.