~ubuntu-branches/ubuntu/natty/ncbi-tools6/natty

« back to all changes in this revision

Viewing changes to api/undefwin.h

  • Committer: Bazaar Package Importer
  • Author(s): Aaron M. Ucko
  • Date: 2002-04-04 22:13:09 UTC
  • Revision ID: james.westby@ubuntu.com-20020404221309-vfze028rfnlrldct
Tags: upstream-6.1.20011220a
ImportĀ upstreamĀ versionĀ 6.1.20011220a

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*   $Id: undefwin.h,v 1.1 2000/03/06 17:58:21 lewisg Exp $
 
2
* ===========================================================================
 
3
*
 
4
*                            PUBLIC DOMAIN NOTICE
 
5
*            National Center for Biotechnology Information (NCBI)
 
6
*
 
7
*  This software/database is a "United States Government Work" under the
 
8
*  terms of the United States Copyright Act.  It was written as part of
 
9
*  the author's official duties as a United States Government employee and
 
10
*  thus cannot be copyrighted.  This software/database is freely available
 
11
*  to the public for use. The National Library of Medicine and the U.S.
 
12
*  Government do not place any restriction on its use or reproduction.
 
13
*  We would, however, appreciate having the NCBI and the author cited in
 
14
*  any work or product based on this material
 
15
*
 
16
*  Although all reasonable efforts have been taken to ensure the accuracy
 
17
*  and reliability of the software and data, the NLM and the U.S.
 
18
*  Government do not and cannot warrant the performance or results that
 
19
*  may be obtained by using this software or data. The NLM and the U.S.
 
20
*  Government disclaim all warranties, express or implied, including
 
21
*  warranties of performance, merchantability or fitness for any particular
 
22
*  purpose.
 
23
*
 
24
* ===========================================================================
 
25
*
 
26
* File Name:  $Id: undefwin.h,v 1.1 2000/03/06 17:58:21 lewisg Exp $
 
27
*
 
28
* Author:  Lewis Geer
 
29
*
 
30
* Version Creation Date:   3/06/00
 
31
*
 
32
* $Revision: 1.1 $
 
33
*
 
34
* File Description:
 
35
*  undef's definitions in the toolkit that interfere with win32 definitions
 
36
*  in windows.h.  Behavior
 
37
*  of this is undetermined (the win32 macro can be completely different from
 
38
*  the toolkit macro), so use with caution.
 
39
*
 
40
* Modifications:
 
41
* --------------------------------------------------------------------------
 
42
* $Log: undefwin.h,v $
 
43
* Revision 1.1  2000/03/06 17:58:21  lewisg
 
44
* file to undef macro conflicts with win32
 
45
*
 
46
*
 
47
* ==========================================================================
 
48
*/
 
49
 
 
50
#ifdef _WIN32
 
51
#undef Beep
 
52
#undef CreateFont
 
53
#undef FrameRgn
 
54
#undef EqualRgn
 
55
#undef InvertRgn
 
56
#undef LineTo
 
57
#undef PaintRgn
 
58
#undef StartPage
 
59
#undef EndPage
 
60
#undef DrawText
 
61
#undef FrameRect
 
62
#undef InvertRect
 
63
#undef UnionRect
 
64
#undef OffsetRect
 
65
#undef EqualRect
 
66
#undef PtInRect
 
67
#undef ChooseFont
 
68
#undef SetPort
 
69
#undef UnionRgn
 
70
#undef XorRgn
 
71
#undef DeleteFont
 
72
#undef SelectFont
 
73
#undef InsetRect
 
74
#undef HANDLE
 
75
#endif