Mercurial > emacs
annotate src/s/isc4-0.h @ 24841:d2d412758428
(clear_cached_bitmap_slots): Remove.
(get_bitmap_with_cache): Check if CreateBitmap failed.
Adjust cache size dynamically so cache is never larger than the
system limit of GDI resources.
Do cache clearing inline. Move global variables to local scope.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Sun, 13 Jun 1999 17:49:12 +0000 |
parents | 4e472b8b55c5 |
children | 4406a040b043 |
rev | line source |
---|---|
6777 | 1 #include "isc3-0.h" |
2 | |
9548
6c1db50b798d
(LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
8530
diff
changeset
|
3 #undef LIBS_SYSTEM |
6c1db50b798d
(LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
8530
diff
changeset
|
4 #define LIBS_SYSTEM -linet -lcposix |
7325
bfbebc2a04c9
(NEED_SIOCTL, ISC4_0): Declared.
Richard M. Stallman <rms@gnu.org>
parents:
6880
diff
changeset
|
5 |
bfbebc2a04c9
(NEED_SIOCTL, ISC4_0): Declared.
Richard M. Stallman <rms@gnu.org>
parents:
6880
diff
changeset
|
6 #define ISC4_0 |
8284
f21e11ac80bb
[__GNUC__] (LIBX11_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
7577
diff
changeset
|
7 |
f21e11ac80bb
[__GNUC__] (LIBX11_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
7577
diff
changeset
|
8 /* fmcphers@csugrad.cs.vt.edu reported this was necessary. |
f21e11ac80bb
[__GNUC__] (LIBX11_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
7577
diff
changeset
|
9 He used GCC. I don't know what is needed with other compilers. */ |
f21e11ac80bb
[__GNUC__] (LIBX11_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
7577
diff
changeset
|
10 #ifdef __GNUC__ |
f21e11ac80bb
[__GNUC__] (LIBX11_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
7577
diff
changeset
|
11 #undef LIBX11_SYSTEM |
f21e11ac80bb
[__GNUC__] (LIBX11_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
7577
diff
changeset
|
12 #define LIBX11_SYSTEM -lpt -lnls -lnsl_s -lcposix -lc |
f21e11ac80bb
[__GNUC__] (LIBX11_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
7577
diff
changeset
|
13 #endif |
9548
6c1db50b798d
(LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
8530
diff
changeset
|
14 |
6c1db50b798d
(LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
8530
diff
changeset
|
15 /* Tobias Herbert <herbert@clipper.ikp.physik.th-darmstadt.de> |
6c1db50b798d
(LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
8530
diff
changeset
|
16 says this is needed. */ |
6c1db50b798d
(LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
8530
diff
changeset
|
17 |
12754
8ba3a8c5dc43
(sigblock, SIG_BLOCK): Don't define them if POSIX_SIGNALS.
Richard M. Stallman <rms@gnu.org>
parents:
9548
diff
changeset
|
18 #ifndef POSIX_SIGNALS |
9548
6c1db50b798d
(LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
8530
diff
changeset
|
19 #ifndef sigblock |
6c1db50b798d
(LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
8530
diff
changeset
|
20 #ifndef SIG_BLOCK |
6c1db50b798d
(LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
8530
diff
changeset
|
21 #define SIG_BLOCK 0 |
6c1db50b798d
(LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
8530
diff
changeset
|
22 #endif |
6c1db50b798d
(LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
8530
diff
changeset
|
23 #define sigblock(sig) (sigprocmask (SIG_BLOCK, SIGEMPTYMASK | sig, NULL)) |
6c1db50b798d
(LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
8530
diff
changeset
|
24 #endif |
12754
8ba3a8c5dc43
(sigblock, SIG_BLOCK): Don't define them if POSIX_SIGNALS.
Richard M. Stallman <rms@gnu.org>
parents:
9548
diff
changeset
|
25 #endif /* not POSIX_SIGNALS */ |