  
  #include "types.h"
  
-+#ifdef FEATURE_PERIPH_HWRNG
++#ifdef MODULE_PERIPH_HWRNG
 +
  #if (defined(_WIN32) || defined(_WIN64))
  /* Windows */

 
 #endif /* platform */
 
+#endif /* FEATURE_PERIPH_HWRNG */
+
 #endif /* _UECC_PLATFORM_SPECIFIC_H_ */
diff --git a/uECC.c b/uECC.c

     return 0;
 }
 
+#endif /* MODULE_PERIPH_HWRNG */
+
 int uECC_shared_secret(const uint8_t *public_key,
                        const uint8_t *private_key,
