Ignore:
Timestamp:
2001-05-24T17:06:48+12:00 (23 years ago)
Author:
sjboddie
Message:

Fiddled about with mgpp to get it compiling on Windows under VC++ 6.0. I
still can't get it to compile under VC++ 4.2 because of some weird
behaviour in STLport.

Also tidied up a little and removed some of the old log information
that was scattered about in some of the files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/mgpp/lib/xmalloc.c

    r855 r2468  
    5656int xmalloc_exit_failure = EXIT_FAILURE;
    5757
     58#if defined(__WIN32__)
     59void error (int, int, const char *, ...);
     60#else
    5861#if __STDC__ && (HAVE_VPRINTF || HAVE_DOPRNT)
    5962void error (int, int, const char *, ...);
    6063#else
    61 void error ();
     64void error (int, int, char *, char *, char *, char *, char *, char *, char *, char *, char *);
    6265#endif
     66#endif;
    6367
    6468static VOID *
    65 fixup_null_alloc (size_t n)
     69fixup_null_alloc (n)
     70     size_t n;
    6671{
    6772  VOID *p;
     
    7883
    7984VOID *
    80 xmalloc (size_t n)
     85xmalloc (n)
     86     size_t n;
    8187{
    8288  VOID *p;
     
    9399
    94100VOID *
    95 xrealloc (VOID *p, size_t n)
     101xrealloc (p, n)
     102     VOID *p;
     103     size_t n;
    96104{
    97105  if (p == 0)
Note: See TracChangeset for help on using the changeset viewer.