git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6175bf2
)
use srand if srand48 not present.
author
kramm
<kramm>
Thu, 13 Dec 2001 08:21:07 +0000
(08:21 +0000)
committer
kramm
<kramm>
Thu, 13 Dec 2001 08:21:07 +0000
(08:21 +0000)
pdf2swf/pdf2swf.cc
patch
|
blob
|
history
diff --git
a/pdf2swf/pdf2swf.cc
b/pdf2swf/pdf2swf.cc
index
7c5add0
..
79e6cb2
100644
(file)
--- a/
pdf2swf/pdf2swf.cc
+++ b/
pdf2swf/pdf2swf.cc
@@
-147,7
+147,13
@@
void args_callback_usage(char*name)
int main(int argn, char *argv[])
{
+#ifdef HAVE_SRAND48
srand48(time(0));
+#else
+#ifdef HAVE_SRAND
+ srand(time(0));
+#endif
+#endif
processargs(argn, argv);
initLog(0,-1,0,0,-1,loglevel);
if(!outputname)