Skip to content

Commit abd817e

Browse files
Remove multiple definition of INP_DLLEXPORT (#1095)
1 parent 0000b42 commit abd817e

File tree

3 files changed

+1
-21
lines changed

3 files changed

+1
-21
lines changed

dpnp/backend/include/dpnp_iface_fft.hpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,6 @@
3939
#ifndef BACKEND_IFACE_FFT_H // Cython compatibility
4040
#define BACKEND_IFACE_FFT_H
4141

42-
// #include <cstdint>
43-
44-
// TODO needs to move into common place like backend_defs.hpp
45-
#ifdef _WIN32
46-
#define INP_DLLEXPORT __declspec(dllexport)
47-
#else
48-
#define INP_DLLEXPORT
49-
#endif
50-
51-
// TODO needs to move into common place like backend_defs.hpp
5242
/**
5343
* @defgroup BACKEND_FFT_API Backend C++ library interface FFT API
5444
* @{

dpnp/backend/include/dpnp_iface_random.hpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,6 @@
3939
#ifndef BACKEND_IFACE_RANDOM_H // Cython compatibility
4040
#define BACKEND_IFACE_RANDOM_H
4141

42-
#ifdef _WIN32
43-
#define INP_DLLEXPORT __declspec(dllexport)
44-
#else
45-
#define INP_DLLEXPORT
46-
#endif
47-
4842
/**
4943
* @defgroup BACKEND_RANDOM_API Backend C++ library interface RANDOM API
5044
* @{

dpnp/backend/src/constants.hpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,7 @@
2727
#ifndef CONSTANTS_H // Cython compatibility
2828
#define CONSTANTS_H
2929

30-
#ifdef _WIN32
31-
#define INP_DLLEXPORT __declspec(dllexport)
32-
#else
33-
#define INP_DLLEXPORT
34-
#endif
30+
#include "dpnp_iface.hpp"
3531

3632
/**
3733
* This is container for the constants from Python interpreter and other modules. These constants are subject to use

0 commit comments

Comments
 (0)