~ubuntu-branches/ubuntu/hardy/nss/hardy-security

« back to all changes in this revision

Viewing changes to mozilla/dbm/include/watcomfx.h

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack
  • Date: 2009-08-01 16:57:40 UTC
  • mfrom: (1.1.8 upstream) (7.1.1 hardy-security)
  • Revision ID: james.westby@ubuntu.com-20090801165740-4edm78cga2bcxxub
Tags: 3.12.3.1-0ubuntu0.8.04.1
* new upstream release 3.12.3.1 RTM (NSS_3_12_3_1_RTM) (LP: #407549)
  - see USN-810-1
* requires nspr >= 4.7.4
  - update debian/control
* drop (ubuntu-)useless kbsd patch
  - delete debian/patches/38_kbsd.patch
* drop obsolete patches fixed upstream
  - delete debian/patches/80_security_tools.patch
  - delete debian/patches/bz471715_attachment_357235-backport.patch
* adjust patches to new upstream codebase
  - update debian/patches/38_mips64_build.patch
  - update debian/patches/81_sonames.patch
* LP: #388350 - nss 3.12.3-0ubuntu2 ftbfs in karmic - shlibsign crashes; we add
  debian/libnss3-1d/usr/lib/nss to LD_LIBRARY_PATH for the shlibsign invocation
  used to sign libs in debian/rules
  - update debian/rules
* update .symbols files for new upstream api
  - update debian/libnss3-1d.symbols
* bump shlibs version to >= 3.12.3
  - update debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#if defined(__WATCOMC__) || defined(__WATCOM_CPLUSPLUS__)
2
 
#ifndef __WATCOM_FIX_H__
3
 
#define __WATCOM_FIX_H__ 1
4
 
/*
5
 
 * WATCOM's C compiler doesn't default to "__cdecl" conventions for external
6
 
 * symbols and functions.  Rather than adding an explicit __cdecl modifier to 
7
 
 * every external symbol and function declaration and definition, we use the 
8
 
 * following pragma to (attempt to) change WATCOM c's default to __cdecl.
9
 
 * These pragmas were taken from pages 180-181, 266 & 269 of the 
10
 
 * Watcom C/C++ version 11 User's Guide, 3rd edition.
11
 
 */
12
 
#if defined(XP_WIN16) || defined(WIN16) 
13
 
#pragma aux default "_*" \
14
 
        parm caller [] \
15
 
        value struct float struct routine [ax] \
16
 
        modify [ax bx cx dx es]
17
 
#else
18
 
#pragma aux default "_*" \
19
 
        parm caller [] \
20
 
        value struct float struct routine [eax] \
21
 
        modify [eax ecx edx]
22
 
#endif
23
 
#pragma aux default far
24
 
 
25
 
#endif /* once */
26
 
#endif /* WATCOM compiler */