home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / modules / security / freenav / macbuild / SecurityConfig.h < prev   
Encoding:
C/C++ Source or Header  |  1998-04-08  |  1.9 KB  |  56 lines

  1. /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
  2.  *
  3.  * The contents of this file are subject to the Netscape Public License
  4.  * Version 1.0 (the "NPL"); you may not use this file except in
  5.  * compliance with the NPL.  You may obtain a copy of the NPL at
  6.  * http://www.mozilla.org/NPL/
  7.  *
  8.  * Software distributed under the NPL is distributed on an "AS IS" basis,
  9.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  10.  * for the specific language governing rights and limitations under the
  11.  * NPL.
  12.  *
  13.  * The Initial Developer of this code under the NPL is Netscape
  14.  * Communications Corporation.  Portions created by Netscape are
  15.  * Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  16.  * Reserved.
  17.  */
  18. // we have to do this here because ConditionalMacros.h will be included from
  19. // within OpenTptInternet.h and will stupidly define these to 1 if they
  20. // have not been previously defined. The new PowerPlant (CWPro1) requires that
  21. // this be set to 0. (pinkerton)
  22. #define OLDROUTINENAMES 0
  23. #ifndef OLDROUTINELOCATIONS
  24.     #define OLDROUTINELOCATIONS    0
  25. #endif
  26.  
  27. #define XP_MAC 1
  28. #define _PR_NO_PREEMPT 1
  29. #define _NO_FAST_STRING_INLINES_ 1
  30. #define NSPR20 1
  31. #define NSPR20_FOR_DOGBERT 1
  32.  
  33. // Need to define NETSCAPE so that Nelson's Java SSL API bits compile.
  34. #ifndef NETSCAPE
  35. #define NETSCAPE 1
  36. #endif
  37.  
  38. // Need to define MOZILLA_CLIENT since, well, we're the client-side library.
  39. #ifndef MOZILLA_CLIENT
  40. #define MOZILLA_CLIENT 1
  41. #endif
  42.  
  43. // OpenTransport.h has changed to not include the error messages we need from
  44. // it unless this is defined. Why? dunnno...(pinkerton)
  45. #define OTUNIXERRORS 1
  46.  
  47. // Brutal hack: Make sure only one copy of macsock.h is included.
  48. //#define macksocket_h___
  49.  
  50. #include "IDE_Options.h"
  51.  
  52. /* Make sure that "macintosh" is defined. */
  53. #ifndef macintosh
  54. #define macintosh 1
  55. #endif
  56.