Changeset 29d76d4 in git for kernel/structs.h


Ignore:
Timestamp:
Oct 25, 2013, 4:08:36 AM (10 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
Children:
1ba7d59dde84d122942e10a85da471cf9da64a00
Parents:
f80aca589d7b6c3ac3ec8c32b27b8130ea38c6f7
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-10-25 04:08:36+02:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-10-25 15:09:50+02:00
Message:
Fixed brocken linkage under OSX (char_ptr_bin)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/structs.h

    rf80aca5 r29d76d4  
    109109#endif
    110110
    111 extern omBin char_ptr_bin;
     111class CGlobals
     112{
     113 public:
     114 static inline const omBin& getCharPtrBin()
     115 {
     116  static omBin _char_ptr_bin = omGetSpecBin(sizeof(char*));
     117  return _char_ptr_bin;
     118 }
     119};
     120
     121#define char_ptr_bin (CGlobals::getCharPtrBin())
     122
    112123
    113124#endif
Note: See TracChangeset for help on using the changeset viewer.