aboutsummaryrefslogtreecommitdiffstats
path: root/include/util.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1998-09-14 15:49:56 +0000
committerWerner Koch <[email protected]>1998-09-14 15:49:56 +0000
commitc07a88da5d293db89726767fef58090177b423f4 (patch)
tree7ea1d5d10d3e65cf29c4b03616772fb4c829f4d1 /include/util.h
parentUpdates (diff)
downloadgnupg-c07a88da5d293db89726767fef58090177b423f4.tar.gz
gnupg-c07a88da5d293db89726767fef58090177b423f4.zip
New release
Diffstat (limited to '')
-rw-r--r--include/util.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/util.h b/include/util.h
index f480f48f3..cd4d488ca 100644
--- a/include/util.h
+++ b/include/util.h
@@ -166,6 +166,15 @@ char *strlwr(char *a);
#endif
+/**** other missing stuff ****/
+#ifndef HAVE_ATEXIT /* For SunOS */
+ #define atexit(a) (on_exit((a),0))
+#endif
+
+#ifndef HAVE_RAISE
+ #define raise(a) kill(getpid(), (a))
+#endif
+
/******** some macros ************/
#ifndef STR
#define STR(v) #v