Ignore:
Timestamp:
2000-05-10T16:52:47+12:00 (24 years ago)
Author:
sjboddie
Message:

fixed compiler error - some compilers need LK_UNLCK instead of LK_UNLOCK

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/lib/gsdlconf.h

    r1150 r1167  
    9191#define GSDL_GET_FILEDESC(str) str.fd()
    9292#endif
     93#if !defined(LK_UNLOCK) && defined(LK_UNLCK)
     94#define LK_UNLOCK LK_UNLCK
     95#endif
    9396#define GSDL_UNLOCK_FILE(fd) _locking(fd, LK_UNLOCK, 200)
    9497#define GSDL_LOCK_FILE(fd) lock_val = _locking(fd, LK_NBLCK, 200)
Note: See TracChangeset for help on using the changeset viewer.