Changeset a3abab6 in freewrt


Ignore:
Timestamp:
Sep 12, 2006, 3:18:01 PM (19 years ago)
Author:
Thorsten Glaser <tg@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
db5651c
Parents:
753dc92
Message:

work around some compatibility issues, addresses PR#77, please test

git-svn-id: svn://www.freewrt.org/trunk/freewrt@587 afb5a338-a214-0410-bd46-81f09a774fd1

Location:
tools/paxmirabilis/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tools/paxmirabilis/src/extern.h

    r753dc92 ra3abab6  
    4545#if defined(__GLIBC__)
    4646#include <time.h>
     47#endif
     48
     49/* compatibility hack */
     50#ifndef __GLIBC_PREREQ
     51#define __GLIBC_PREREQ(x,y) 0
    4752#endif
    4853
  • tools/paxmirabilis/src/file_subs.c

    r753dc92 ra3abab6  
    734734         * set the times
    735735         */
    736 #if !defined(__GLIBC__) || (defined(__GLIBC_MINOR__) && __GLIBC_PREREQ(2,3))
     736#if !defined(__GLIBC__) || __GLIBC_PREREQ(2,3)
    737737        if (futimes(fd, tv) < 0)
    738738                syswarn(1, errno, "Access/modification time set failed on: %s",
Note: See TracChangeset for help on using the changeset viewer.