Changeset d3021927


Ignore:
Timestamp:
Jun 8, 2010 10:50:36 AM (7 years ago)
Author:
www-data <www-data@…>
Branches:
master, experimental, feature_CIS, feature_PetascopeSecore, feature_cmake, feature_rasdapy, feature_wcps2, fixes, release_8.5, release_9.0, release_9.1, release_9.2, release_9.3, release_9.4, release_9.5
Children:
820c6de
Parents:
06b19f9
git-author:
Peter Baumann <baumann@…> (10/15/09 23:22:12)
git-committer:
www-data <www-data@…> (06/08/10 10:50:36)
Message:

PB: workaround for missing ARG_MAX in limits.h in some glibc versions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rasmgr/rasmgr_localsrv.cc

    rb80ca40 rd3021927  
    4242#include <signal.h>
    4343#include <time.h>
     44
    4445#include <linux/limits.h>       // ARG_MAX
     46// fix for missing ARG_MAX; workaround for glibc-2.8 and above
     47#if defined(_SC_ARG_MAX)
     48# if defined(ARG_MAX)
     49#    undef ARG_MAX
     50# endif
     51# define ARG_MAX sysconf (_SC_ARG_MAX)
     52#endif
    4553
    4654#include "raslib/rminit.hh"
Note: See TracChangeset for help on using the changeset viewer.