X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=prng.h;fp=prng.h;h=9eb15102f1c71b2497659d085e3a12f4445412c8;hb=c95005141e95b4775709a305d305912e29b87587;hp=64f8ef3f54a6c6b5a157a7d41aa183d5e4dedf89;hpb=672cc1adbb2f8dac82757653cd579c093fe886c2;p=mothur.git diff --git a/prng.h b/prng.h index 64f8ef3..9eb1510 100644 --- a/prng.h +++ b/prng.h @@ -51,6 +51,10 @@ #ifndef _INC_PRNG_H_ #define _INC_PRNG_H_ 1 +#ifdef __cplusplus +extern "C" { +#endif + #define NJ_RAND_MAX 0x7fffffffUL @@ -83,6 +87,10 @@ genrand_res53(void); long int NJ_genrand_int31_top(long int top); +#ifdef __cplusplus +} +#endif + #endif /* _INC_PRNG_H_ */