X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=prng.h;h=9eb15102f1c71b2497659d085e3a12f4445412c8;hp=64f8ef3f54a6c6b5a157a7d41aa183d5e4dedf89;hb=a8e2df1b96a57f5f29576b08361b86a96a8eff4f;hpb=51d85e945d26324e50d6406829ce006ccc9eb1c0 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_ */