Hello,
This is part 2 of my (successful) tentative to compile libgcrypt to MinGW.
This (attached) patch needs to be applied. it takes care of the following :
* In random.c, use a gatherer in the Windows case.
* In rndw32.c, one include missing, two prototypes that weren't renamed.
* In secmem.c (Note 1) Get rid of getuid / geteuid
* build-dll was slightly modified.
- Note 1 : In secmem.c, I just defined out getuid / geteuid. This is of
course not the right way to do it, but I'm no autoconf expert and I
wanted to make sure that it actually worked. Of course this part needs
autodetection and can not be applied as is. (The problem seems that
MinGW does not define nor geteuid nor getuid)
Best regards,
Ludovic LANGE
This is part 2 of my (successful) tentative to compile libgcrypt to MinGW.
This (attached) patch needs to be applied. it takes care of the following :
* In random.c, use a gatherer in the Windows case.
* In rndw32.c, one include missing, two prototypes that weren't renamed.
* In secmem.c (Note 1) Get rid of getuid / geteuid
* build-dll was slightly modified.
- Note 1 : In secmem.c, I just defined out getuid / geteuid. This is of
course not the right way to do it, but I'm no autoconf expert and I
wanted to make sure that it actually worked. Of course this part needs
autodetection and can not be applied as is. (The problem seems that
MinGW does not define nor geteuid nor getuid)
Best regards,
Ludovic LANGE