From a36ce0cf4eda9566857cd1c3fbb6254eedaa6994 Mon Sep 17 00:00:00 2001 From: Darren Ranalli Date: Thu, 24 Jun 2004 22:15:30 +0000 Subject: [PATCH] fix for OP4 builds w/ NSPR --- direct/src/distributed/cConnectionRepository.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/direct/src/distributed/cConnectionRepository.cxx b/direct/src/distributed/cConnectionRepository.cxx index dd97b057bd..950469c880 100644 --- a/direct/src/distributed/cConnectionRepository.cxx +++ b/direct/src/distributed/cConnectionRepository.cxx @@ -49,7 +49,7 @@ CConnectionRepository() : _sec_code(0), _msg_type(0) { -#ifdef HAVE_NSPR +#if defined(HAVE_NSPR) && defined(SIMULATE_NETWORK_DELAY) if (min_lag != 0.0 || max_lag != 0.0) { _qcr.start_delay(min_lag, max_lag); }