Changeset e6f615 in git for factory/test.cc


Ignore:
Timestamp:
Feb 6, 2014, 8:03:37 PM (10 years ago)
Author:
Max Horn <max@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
Children:
3ae41499c8bd62c0f39d2cc7de542d0fdee30c19
Parents:
1cb3bbad98430eb199229bd5e0a0721caf0c5771
Message:
Get rid of empty mmInit() functions
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/test.cc

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