Changeset 9651


Ignore:
Timestamp:
Feb 10, 2015, 5:30:57 PM (10 years ago)
Author:
steve
Message:

Going back to using mingw on windows (Microsoft compiler caused too many compiler errors)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/anuga/utilities/util_ext.h

    r9641 r9651  
    2121
    2222
    23 
    24 
    2523#define STRINGIFY(x) #x
    2624#define TOSTRING(x) STRINGIFY(x)
     
    2826#define P_ERROR_BUFFER_SIZE 65
    2927
    30 #ifdef _WIN32
    31 #define __func__ __FUNCTION__
    32 #endif
    3328
    3429// check that numpy array objects are C contiguous memory
     
    4540
    4641
    47 
    48 
    49 
    50 
    5142void report_python_error(const char *location, const char *msg)
    5243{
     
    6152
    6253
    63 #ifdef _WIN32
    64 
    65 #else
     54
    6655double max(double x, double y) { 
    6756  //Return maximum of two doubles
     
    7867  else return y;
    7968}
    80 #endif
     69
    8170
    8271double sign(double x) {
Note: See TracChangeset for help on using the changeset viewer.