mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-01-18 19:47:15 +01:00
USe pragma once.
This commit is contained in:
parent
94ef17c26f
commit
df7c5f8266
@ -40,8 +40,7 @@
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*----------------------------------------------------------------------------*/
|
||||
#ifndef __ACTIVESOCKET_H__
|
||||
#define __ACTIVESOCKET_H__
|
||||
#pragma once
|
||||
|
||||
#include "SimpleSocket.h"
|
||||
|
||||
@ -86,6 +85,3 @@ private:
|
||||
private:
|
||||
struct hostent *m_pHE;
|
||||
};
|
||||
|
||||
#endif /* __ACTIVESOCKET_H__ */
|
||||
|
||||
|
@ -41,8 +41,7 @@
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*----------------------------------------------------------------------------*/
|
||||
#ifndef __HOST_H__
|
||||
#define __HOST_H__
|
||||
#pragma once
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
@ -209,5 +208,3 @@
|
||||
#define VPRINTF vprintf
|
||||
#define FPRINTF fprintf
|
||||
#endif
|
||||
|
||||
#endif /* __HOST_H__ */
|
||||
|
@ -40,8 +40,8 @@
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*----------------------------------------------------------------------------*/
|
||||
#ifndef __PASSIVESOCKET_H__
|
||||
#define __PASSIVESOCKET_H__
|
||||
#pragma once
|
||||
|
||||
#include "ActiveSocket.h"
|
||||
|
||||
/// Provides a platform independent class to create a passive socket.
|
||||
@ -115,5 +115,3 @@ private:
|
||||
struct ip_mreq m_stMulticastRequest; /// group address for multicast
|
||||
|
||||
};
|
||||
|
||||
#endif // __PASSIVESOCKET_H__
|
||||
|
@ -40,8 +40,7 @@
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*----------------------------------------------------------------------------*/
|
||||
#ifndef __SOCKET_H__
|
||||
#define __SOCKET_H__
|
||||
#pragma once
|
||||
|
||||
#ifdef _LINUX
|
||||
#define _DEFAULT_SOURCE
|
||||
@ -581,7 +580,3 @@ protected:
|
||||
fd_set m_readFds; /// read file descriptor set
|
||||
fd_set m_errorFds; /// error file descriptor set
|
||||
};
|
||||
|
||||
|
||||
#endif /* __SOCKET_H__ */
|
||||
|
||||
|
@ -40,8 +40,7 @@
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*----------------------------------------------------------------------------*/
|
||||
#ifndef __CSTATTIMER_H__
|
||||
#define __CSTATTIMER_H__
|
||||
#pragma once
|
||||
|
||||
#include <string.h>
|
||||
|
||||
@ -111,5 +110,3 @@ private:
|
||||
struct timeval m_startTime;
|
||||
struct timeval m_endTime;
|
||||
};
|
||||
|
||||
#endif // __CSTATTIMER_H__
|
||||
|
Loading…
x
Reference in New Issue
Block a user