git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added byte order handling
[swftools.git]
/
pdf2swf
/
pdf2swf.cc
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)