Ignore:
Timestamp:
Oct 1, 2001, 4:01:35 PM (24 years ago)
Author:
aubourg
Message:

darwin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ArchTOIPipe/Kernel/toiprocessor.cc

    r1629 r1663  
    22#include "toimanager.h"
    33#include <pthread.h>
     4
     5#ifdef HAVE_VALUES_H
    46#include <values.h>
     7#endif
     8
     9#ifndef MAXINT
     10#define MAXINT 2147483647
     11#endif
     12
     13#ifdef HAVE_STDINT_H
     14#include <stdint.h>
     15#endif
    516
    617#ifdef WITH_SOPHYA
     
    8899
    89100int TOIProcessor::getMaxIn() {
    90   int nIn = inIx.size();
    91   int maxIn = MAXINT;
     101  int_4 nIn = inIx.size();
     102  int_4 maxIn = MAXINT;
    92103  for (int i=0; i<nIn; i++) {
    93104    TOI* toi = inTOIs[i];
    94105    if (toi == NULL) continue;  // Protection - Reza  13/3/2001
    95     int x = toi->getMaxSn();
     106    int_4 x = toi->getMaxSn();
    96107    if (x < maxIn) maxIn = x;
    97108  }
Note: See TracChangeset for help on using the changeset viewer.