Skip to content

Commit

Permalink
rename declspec.h -> natpmp_declspec.h
Browse files Browse the repository at this point in the history
  • Loading branch information
miniupnp committed Oct 25, 2015
1 parent cf7f452 commit 1d11336
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ endif

# DO NOT DELETE

natpmp.o: natpmp.h getgateway.h declspec.h
getgateway.o: getgateway.h declspec.h
testgetgateway.o: getgateway.h declspec.h
natpmp.o: natpmp.h getgateway.h natpmp_declspec.h
getgateway.o: getgateway.h natpmp_declspec.h
testgetgateway.o: getgateway.h natpmp_declspec.h
natpmpc.o: natpmp.h
6 changes: 1 addition & 5 deletions natpmp.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,10 @@ typedef unsigned long uint32_t;
typedef unsigned short uint16_t;
#endif /* !defined(_MSC_VER) || _MSC_VER >= 1600 */
#define in_addr_t uint32_t
#include "declspec.h"
#else /* _WIN32 */
#define NATPMP_LIBSPEC
#include <netinet/in.h>
#endif /* _WIN32 */

/* causes problem when installing. Maybe should it be inlined ? */
/* #include "declspec.h" */
#include "natpmp_declspec.h"

typedef struct {
int s; /* socket */
Expand Down
File renamed without changes.

0 comments on commit 1d11336

Please sign in to comment.