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
  • TabularUnified trunk/kStuff/kHlp/Bare/kHlpBareEnv.c

    r3575 r3594  
    3232#include <k/kErrors.h>
    3333
    34 #if K_OS == K_OS_OS2
     34#if K_OS == K_OS_DARWIN
     35
     36#elif K_OS == K_OS_OS2
    3537# define INCL_BASE
    3638# define INCL_ERRORS
    3739# include <os2.h>
     40
    3841#elif  K_OS == K_OS_WINDOWS
    3942# include <Windows.h>
     43
    4044#else
    4145# error "port me"
     
    4549KHLP_DECL(int) kHlpGetEnv(const char *pszVar, char *pszVal, KSIZE cchVal)
    4650{
    47 #if K_OS == K_OS_OS2
     51#if K_OS == K_OS_DARWIN
     52    /** @todo need to figure out where the stuff is or how it's inherited on darwin ... */
     53    return KERR_ENVVAR_NOT_FOUND;
     54
     55#elif K_OS == K_OS_OS2
    4856    PSZ pszValue = NULL;
    4957    int rc;
Note: See TracChangeset for help on using the changeset viewer.