Author: hbelusca
Date: Mon Dec 15 20:17:17 2014
New Revision: 65675
URL:
http://svn.reactos.org/svn/reactos?rev=65675&view=rev
Log:
[TREE]
- Use #pragma once in resource.h
- put windows.h after CRT includes.
- Convert the main .rc back to ANSI otherwise rc.exe complains, see
http://stackoverflow.com/questions/15244065/error-rc2135-in-c-project-due-t…
for more details.
Modified:
trunk/reactos/base/applications/cmdutils/tree/resource.h
trunk/reactos/base/applications/cmdutils/tree/tree.c
trunk/reactos/base/applications/cmdutils/tree/tree.rc
Modified: trunk/reactos/base/applications/cmdutils/tree/resource.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cmdutils…
==============================================================================
--- trunk/reactos/base/applications/cmdutils/tree/resource.h [iso-8859-1] (original)
+++ trunk/reactos/base/applications/cmdutils/tree/resource.h [iso-8859-1] Mon Dec 15
20:17:17 2014
@@ -1,9 +1,6 @@
-#ifndef RESOURCE_H
-#define RESOURCE_H
+#pragma once
#define IDS_USAGE 0
#define IDS_NO_SUBDIRECTORIES 1
#define IDS_FOLDER_PATH 2
#define IDS_VOL_SERIAL 3
-
-#endif /* RESOURCE_H */
Modified: trunk/reactos/base/applications/cmdutils/tree/tree.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cmdutils…
==============================================================================
--- trunk/reactos/base/applications/cmdutils/tree/tree.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/cmdutils/tree/tree.c [iso-8859-1] Mon Dec 15 20:17:17
2014
@@ -5,11 +5,9 @@
* PROGRAMMERS: Asif Bahrainwala (asif_bahrainwala(a)hotmail.com)
*/
-// Tree.cpp : Defines the entry point for the console application.
-//
-#include <windows.h>
#include <stdio.h>
//#include <stdarg.h>
+#include <windows.h>
#include "resource.h"
Modified: trunk/reactos/base/applications/cmdutils/tree/tree.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cmdutils…
==============================================================================
--- trunk/reactos/base/applications/cmdutils/tree/tree.rc [iso-8859-1] (original)
+++ trunk/reactos/base/applications/cmdutils/tree/tree.rc [iso-8859-1] Mon Dec 15 20:17:17
2014
@@ -1,4 +1,4 @@
-#include <windef.h>
+#include <windef.h>
#include <winuser.h>
#include "resource.h"