Ignore:
Timestamp:
2013-01-21T23:38:17+13:00 (11 years ago)
Author:
davidb
Message:

Updated configure.in which separates test for bcopy and bcmp. Previously if the test for bcopy was OK, then assumed bcmp OK also. This wasn't the case on Android

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/common-src/packages/gdbm/gdbm-1.8.3/systems.h

    r23770 r26772  
    137137#include <memory.h>
    138138#endif
     139#define bcopy(d1, d2, n) memcpy(d2, d1, n)
     140#endif
     141
     142/* Do we have bcmp?  */
     143#if !HAVE_BCMP
     144#if HAVE_MEMORY_H
     145#include <memory.h>
     146#endif
    139147#define bcmp(d1, d2, n) memcmp(d1, d2, n)
    140 #define bcopy(d1, d2, n) memcpy(d2, d1, n)
    141148#endif
    142149
Note: See TracChangeset for help on using the changeset viewer.