Ignore:
Timestamp:
04/02/12 15:44:28 (13 years ago)
Author:
Mathieu Morlighem
Message:

reverted ifdef _SERIAL_ to ifd defined(_SERIAL_) && defined(_HAVE_MATLAB_)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/shared/Exceptions/Exceptions.cpp

    r11853 r11861  
    1111#include "../shared.h"
    1212#include "../../include/include.h"
    13 #ifdef _SERIAL_
     13#if defined(_HAVE_MATLAB_) && defined(_SERIAL_)
    1414#include "mex.h"
    1515#endif
     
    4545        }
    4646        else{
    47                 #ifdef _SERIAL_
     47                #if defined(_HAVE_MATLAB_) && defined(_SERIAL_)
    4848                        mexErrMsgTxt(exprintf("\n??? Error using ==> %s at %i\n%s error message: %s\n",
    4949                                                        file_name.c_str(),file_line,function_name.c_str(),what()));
Note: See TracChangeset for help on using the changeset viewer.