Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
ca1fe9ec
Commit
ca1fe9ec
authored
Aug 13, 2003
by
Richard Cohen
Committed by
Alexandre Julliard
Aug 13, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use __WINE__ instead of _WINE_, _WIN32.
parent
c17ad75a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
9 deletions
+12
-9
Makefile.in
programs/winefile/Makefile.in
+1
-0
resource.rc
programs/winefile/resource.rc
+4
-4
winefile.c
programs/winefile/winefile.c
+7
-5
No files found.
programs/winefile/Makefile.in
View file @
ca1fe9ec
...
...
@@ -14,6 +14,7 @@ C_SRCS = \
winefile.c
RC_SRCS
=
rsrc.rc
EXTRARCFLAGS
=
-D__WINE__
@MAKE_PROG_RULES@
...
...
programs/winefile/resource.rc
View file @
ca1fe9ec
...
...
@@ -29,7 +29,7 @@ IDA_WINEFILE ACCELERATORS DISCARDABLE
}
IDI_WINEFILE ICON DISCARDABLE
#if
def _WIN32
#if
ndef __WINE__
"winefile.ico"
#else
{
...
...
@@ -85,7 +85,7 @@ IDI_WINEFILE ICON DISCARDABLE
#endif
IDB_TOOLBAR BITMAP DISCARDABLE
#if
def _WIN32
#if
ndef __WINE__
"toolbar.bmp"
#else
{
...
...
@@ -153,7 +153,7 @@ IDB_TOOLBAR BITMAP DISCARDABLE
#endif
IDB_DRIVEBAR BITMAP DISCARDABLE
#if
def _WIN32
#if
ndef __WINE__
"drivebar.bmp"
#else
{
...
...
@@ -208,7 +208,7 @@ IDB_DRIVEBAR BITMAP DISCARDABLE
#endif
IDB_IMAGES BITMAP DISCARDABLE
#if
def _WIN32
#if
ndef __WINE__
"images.bmp"
#else
{
...
...
programs/winefile/winefile.c
View file @
ca1fe9ec
...
...
@@ -18,7 +18,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#if
ndef _WIN32
#if
def __WINE__
#include "config.h"
#include "wine/port.h"
#endif
...
...
@@ -30,10 +30,12 @@
#include "resource.h"
/* for read_directory_unix() */
#if !defined(_NO_EXTENSIONS) &&
!defined(_WIN32
)
#if !defined(_NO_EXTENSIONS) &&
defined(__WINE__
)
#include <dirent.h>
#include <sys/stat.h>
#include <unistd.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <time.h>
#endif
...
...
@@ -1822,7 +1824,7 @@ LRESULT CALLBACK FrameWndProc(HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM lparam
/*TODO: There are even more menu items! */
#ifndef _NO_EXTENSIONS
#ifdef _
WINE
_
#ifdef _
_WINE_
_
case
ID_LICENSE
:
WineLicense
(
Globals
.
hMainWnd
);
break
;
...
...
@@ -3643,7 +3645,7 @@ void show_frame(HWND hwndParent, int cmdshow)
ShowWindow
(
Globals
.
hMainWnd
,
cmdshow
);
#if defined(_SHELL_FOLDERS) && !defined(_
WINE
_)
#if defined(_SHELL_FOLDERS) && !defined(_
_WINE_
_)
/* Shell Namespace as default: */
child
=
alloc_child_window
(
path
,
get_path_pidl
(
path
,
Globals
.
hMainWnd
),
Globals
.
hMainWnd
);
#else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment