[Assorted-commits] SF.net SVN: assorted: [389] cpp-commons/trunk/src/commons
Brought to you by:
yangzhang
|
From: <yan...@us...> - 2008-02-12 17:21:57
|
Revision: 389
http://assorted.svn.sourceforge.net/assorted/?rev=389&view=rev
Author: yangzhang
Date: 2008-02-12 08:35:02 -0800 (Tue, 12 Feb 2008)
Log Message:
-----------
fixed header ifndefs to avoid reserved symbols
Modified Paths:
--------------
cpp-commons/trunk/src/commons/boost/threads.h
cpp-commons/trunk/src/commons/check.h
cpp-commons/trunk/src/commons/cpuid.h
cpp-commons/trunk/src/commons/deque.h
cpp-commons/trunk/src/commons/files.h
cpp-commons/trunk/src/commons/hash.h
cpp-commons/trunk/src/commons/strings.h
cpp-commons/trunk/src/commons/threads.h
cpp-commons/trunk/src/commons/time.h
cpp-commons/trunk/src/commons/x86asm.h
Modified: cpp-commons/trunk/src/commons/boost/threads.h
===================================================================
--- cpp-commons/trunk/src/commons/boost/threads.h 2008-02-12 16:34:43 UTC (rev 388)
+++ cpp-commons/trunk/src/commons/boost/threads.h 2008-02-12 16:35:02 UTC (rev 389)
@@ -1,5 +1,5 @@
-#ifndef _COMMONS_BOOST_THREADS_H
-#define _COMMONS_BOOST_THREADS_H
+#ifndef COMMONS_BOOST_THREADS_H
+#define COMMONS_BOOST_THREADS_H
#include <pthread.h>
#include <sys/syscall.h>
Modified: cpp-commons/trunk/src/commons/check.h
===================================================================
--- cpp-commons/trunk/src/commons/check.h 2008-02-12 16:34:43 UTC (rev 388)
+++ cpp-commons/trunk/src/commons/check.h 2008-02-12 16:35:02 UTC (rev 389)
@@ -1,5 +1,5 @@
-#ifndef _COMMONS_CHECK_H
-#define _COMMONS_CHECK_H
+#ifndef COMMONS_CHECK_H
+#define COMMONS_CHECK_H
#include <exception>
#include <sstream>
Modified: cpp-commons/trunk/src/commons/cpuid.h
===================================================================
--- cpp-commons/trunk/src/commons/cpuid.h 2008-02-12 16:34:43 UTC (rev 388)
+++ cpp-commons/trunk/src/commons/cpuid.h 2008-02-12 16:35:02 UTC (rev 389)
@@ -3,8 +3,8 @@
// spec.
//
-#ifndef _COMMONS_CPUID_H
-#define _COMMONS_CPUID_H
+#ifndef COMMONS_CPUID_H
+#define COMMONS_CPUID_H
#include <commons/x86asm.h>
Modified: cpp-commons/trunk/src/commons/deque.h
===================================================================
--- cpp-commons/trunk/src/commons/deque.h 2008-02-12 16:34:43 UTC (rev 388)
+++ cpp-commons/trunk/src/commons/deque.h 2008-02-12 16:35:02 UTC (rev 389)
@@ -1,5 +1,5 @@
-#ifndef _COMMONS_DEQUE_H
-#define _COMMONS_DEQUE_H
+#ifndef COMMONS_DEQUE_H
+#define COMMONS_DEQUE_H
#include <list>
#include <vector>
Modified: cpp-commons/trunk/src/commons/files.h
===================================================================
--- cpp-commons/trunk/src/commons/files.h 2008-02-12 16:34:43 UTC (rev 388)
+++ cpp-commons/trunk/src/commons/files.h 2008-02-12 16:35:02 UTC (rev 389)
@@ -1,5 +1,5 @@
-#ifndef _COMMONS_FILES_H
-#define _COMMONS_FILES_H
+#ifndef COMMONS_FILES_H
+#define COMMONS_FILES_H
#include <exception>
#include <fstream>
Modified: cpp-commons/trunk/src/commons/hash.h
===================================================================
--- cpp-commons/trunk/src/commons/hash.h 2008-02-12 16:34:43 UTC (rev 388)
+++ cpp-commons/trunk/src/commons/hash.h 2008-02-12 16:35:02 UTC (rev 389)
@@ -1,5 +1,5 @@
-#ifndef _COMMONS_HASH_H
-#define _COMMONS_HASH_H
+#ifndef COMMONS_HASH_H
+#define COMMONS_HASH_H
#include <sys/types.h>
Modified: cpp-commons/trunk/src/commons/strings.h
===================================================================
--- cpp-commons/trunk/src/commons/strings.h 2008-02-12 16:34:43 UTC (rev 388)
+++ cpp-commons/trunk/src/commons/strings.h 2008-02-12 16:35:02 UTC (rev 389)
@@ -1,7 +1,7 @@
// TODO: move whatever you can to C99 Commons
-#ifndef _COMMONS_STRINGS_H
-#define _COMMONS_STRINGS_H
+#ifndef COMMONS_STRINGS_H
+#define COMMONS_STRINGS_H
#include <strings.h>
Modified: cpp-commons/trunk/src/commons/threads.h
===================================================================
--- cpp-commons/trunk/src/commons/threads.h 2008-02-12 16:34:43 UTC (rev 388)
+++ cpp-commons/trunk/src/commons/threads.h 2008-02-12 16:35:02 UTC (rev 389)
@@ -1,5 +1,5 @@
-#ifndef _COMMONS_THREADS_H
-#define _COMMONS_THREADS_H
+#ifndef COMMONS_THREADS_H
+#define COMMONS_THREADS_H
#include <pthread.h>
#include <sys/syscall.h>
Modified: cpp-commons/trunk/src/commons/time.h
===================================================================
--- cpp-commons/trunk/src/commons/time.h 2008-02-12 16:34:43 UTC (rev 388)
+++ cpp-commons/trunk/src/commons/time.h 2008-02-12 16:35:02 UTC (rev 389)
@@ -1,5 +1,5 @@
-#ifndef _COMMONS_TIME_H
-#define _COMMONS_TIME_H
+#ifndef COMMONS_TIME_H
+#define COMMONS_TIME_H
#include <string>
#include <iostream>
Modified: cpp-commons/trunk/src/commons/x86asm.h
===================================================================
--- cpp-commons/trunk/src/commons/x86asm.h 2008-02-12 16:34:43 UTC (rev 388)
+++ cpp-commons/trunk/src/commons/x86asm.h 2008-02-12 16:35:02 UTC (rev 389)
@@ -1,5 +1,5 @@
-#ifndef _COMMONS_X86ASM_H
-#define _COMMONS_X86ASM_H
+#ifndef COMMONS_X86ASM_H
+#define COMMONS_X86ASM_H
namespace commons
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|