Changeset 414 for trunk/lib/lib_simd.h


Ignore:
Timestamp:
Jun 16, 2010, 1:34:48 PM (9 years ago)
Author:
cameron
Message:

Library fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/lib_simd.h

    r405 r414  
    1515#include <sys/types.h>
    1616#include <limits.h>
     17
     18#ifndef LONG_BIT
     19#if ULONG_MAX == 0xFFFFFFFF
     20#define LONG_BIT 32
     21#endif
     22#if ULONG_MAX == 0xFFFFFFFFFFFFFFFF
     23#define LONG_BIT 64
     24#endif
     25#endif
    1726
    1827#if (defined(__i386) || defined(__x86_64))
Note: See TracChangeset for help on using the changeset viewer.