Skip to content

Commit

Permalink
Added the definition for INADDR_LOOPBACK
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jan 15, 2012
1 parent 4f151c8 commit aadbb43
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGES
@@ -1,4 +1,6 @@
1.2.8:
Sam Lantinga - Sun Jan 15 01:39:35 EST 2012
* Added the definition for INADDR_LOOPBACK
Sam Lantinga - Thu Jan 05 22:57:56 2012 -0500
* Added an Xcode project for iOS
Sam Lantinga - Sat Dec 31 10:28:12 EST 2011
Expand Down
3 changes: 3 additions & 0 deletions SDL_net.h
Expand Up @@ -86,6 +86,9 @@ typedef struct {
#ifndef INADDR_NONE
#define INADDR_NONE 0xFFFFFFFF
#endif
#ifndef INADDR_LOOPBACK
#define INADDR_LOOPBACK 0x7f000001
#endif
#ifndef INADDR_BROADCAST
#define INADDR_BROADCAST 0xFFFFFFFF
#endif
Expand Down

0 comments on commit aadbb43

Please sign in to comment.