~ubuntu-branches/ubuntu/saucy/nspr/saucy-updates

« back to all changes in this revision

Viewing changes to mozilla/nsprpub/pr/src/io/prmapopt.c

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack
  • Date: 2009-08-10 11:34:26 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20090810113426-3uv4diflrkcbdimm
Tags: 4.8-0ubuntu1
* New upstream release: 4.8 (LP: #387812)
* adjust patches to changed upstreanm codebase
  - update debian/patches/99_configure.patch
* update shlibs symbols to include new API elements
  - update debian/libnspr4-0d.symbols

Show diffs side-by-side

added added

removed removed

Lines of Context:
368
368
 *********************************************************************
369
369
 */
370
370
 
371
 
#if defined(VMS)
372
 
/*
373
 
** Sad but true. The DEC C header files define the following socket options
374
 
** differently to what UCX is expecting. The values that UCX expects are
375
 
** defined in SYS$LIBRARY:UCX$INETDEF.H. We redefine them here to the values
376
 
** that UCX expects. Note that UCX V4.x will only accept these values while
377
 
** UCX V5.x will accept either. So in theory this hack can be removed once
378
 
** UCX V5 is the minimum.
379
 
*/
380
 
#undef IP_MULTICAST_IF
381
 
#undef IP_MULTICAST_TTL
382
 
#undef IP_MULTICAST_LOOP
383
 
#undef IP_ADD_MEMBERSHIP
384
 
#undef IP_DROP_MEMBERSHIP
385
 
#include <ucx$inetdef.h>
386
 
#define IP_MULTICAST_IF    UCX$C_IP_MULTICAST_IF
387
 
#define IP_MULTICAST_TTL   UCX$C_IP_MULTICAST_TTL
388
 
#define IP_MULTICAST_LOOP  UCX$C_IP_MULTICAST_LOOP
389
 
#define IP_ADD_MEMBERSHIP  UCX$C_IP_ADD_MEMBERSHIP
390
 
#define IP_DROP_MEMBERSHIP UCX$C_IP_DROP_MEMBERSHIP
391
 
#endif
392
 
 
393
371
/*
394
372
 * Not every platform has all the socket options we want to
395
373
 * support.  Some older operating systems such as SunOS 4.1.3