Changeset 1adae39 in git


Ignore:
Timestamp:
Feb 20, 2012, 10:35:03 AM (11 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
80ca3c62104a8ede71139b7dae3090f767870f7c
Parents:
1ffd5aaa7f73b96e691b67a5fb6a364a7dfb77d1
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-02-20 10:35:03+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-02-23 20:35:08+01:00
Message:
fix make check for factory under Mac OS X
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/test.cc

    r1ffd5a r1adae39  
    11#include <factory/factory.h>
    22
    3 int mmInit(void) {return 1; }
     3int mmInit(void) {
     4#ifdef SINGULAR
     5// this is a hack to make linker baheave on Mac OS X 10.6.8 / 64 bit
     6// since otherwise both debug and release DYNAMIC tests failed there with:
     7/*
     8dyld: lazy symbol binding failed: Symbol not found: __Z7feFopenPKcS0_
     9Referenced from: ...BUILDDIR/factory/.libs/libfactory_g-3.1.3.dylib
     10Expected in: flat namespace
     11   
     12dyld: Symbol not found: __Z7feFopenPKcS0_
     13Referenced from: ...BUILDDIR/factory/.libs/libfactory_g-3.1.3.dylib
     14Expected in: flat namespace
     15*/
     16extern FILE * feFopen ( const char * path, const char * mode);
     17const int f = (int)(long)(void*)feFopen;
     18return (f ^ f) + 1;
     19#else
     20return 1;
     21#endif
     22}
    423
    524int test2 (int p)
Note: See TracChangeset for help on using the changeset viewer.