mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-02 09:48:51 +02:00
Move implementations from impl/*.h to *_impl.h
This commit is contained in:
committed by
Pieter Wuille
parent
78cb860733
commit
11ab562203
22
src/num_impl.h
Normal file
22
src/num_impl.h
Normal file
@@ -0,0 +1,22 @@
|
||||
// Copyright (c) 2013 Pieter Wuille
|
||||
// Distributed under the MIT/X11 software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#ifndef _SECP256K1_NUM_IMPL_H_
|
||||
#define _SECP256K1_NUM_IMPL_H_
|
||||
|
||||
#if defined HAVE_CONFIG_H
|
||||
#include "libsecp256k1-config.h"
|
||||
#endif
|
||||
|
||||
#include "num.h"
|
||||
|
||||
#if defined(USE_NUM_GMP)
|
||||
#include "num_gmp_impl.h"
|
||||
#elif defined(USE_NUM_OPENSSL)
|
||||
#include "num_openssl_impl.h"
|
||||
#else
|
||||
#error "Please select num implementation"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user