Changeset View
Changeset View
Standalone View
Standalone View
src/secp256k1/src/num_impl.h
/********************************************************************** | /********************************************************************** | ||||
* Copyright (c) 2013, 2014 Pieter Wuille * | * Copyright (c) 2013, 2014 Pieter Wuille * | ||||
* Distributed under the MIT software license, see the accompanying * | * Distributed under the MIT software license, see the accompanying * | ||||
* file COPYING or http://www.opensource.org/licenses/mit-license.php.* | * file COPYING or http://www.opensource.org/licenses/mit-license.php.* | ||||
**********************************************************************/ | **********************************************************************/ | ||||
#ifndef _SECP256K1_NUM_IMPL_H_ | #ifndef SECP256K1_NUM_IMPL_H | ||||
#define _SECP256K1_NUM_IMPL_H_ | #define SECP256K1_NUM_IMPL_H | ||||
#if defined HAVE_CONFIG_H | #if defined HAVE_CONFIG_H | ||||
#include "libsecp256k1-config.h" | #include "libsecp256k1-config.h" | ||||
#endif | #endif | ||||
#include "num.h" | #include "num.h" | ||||
#if defined(USE_NUM_GMP) | #if defined(USE_NUM_GMP) | ||||
#include "num_gmp_impl.h" | #include "num_gmp_impl.h" | ||||
#elif defined(USE_NUM_NONE) | #elif defined(USE_NUM_NONE) | ||||
/* Nothing. */ | /* Nothing. */ | ||||
#else | #else | ||||
#error "Please select num implementation" | #error "Please select num implementation" | ||||
#endif | #endif | ||||
#endif | #endif /* SECP256K1_NUM_IMPL_H */ |