Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
G
geany
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
geany
Commits
87496f65
Kaydet (Commit)
87496f65
authored
Tem 13, 2015
tarafından
Dimitar Zhekov
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Cleanup win32defines
The git PR for this change contains a long explanation.
üst
0f5e379e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
38 deletions
+5
-38
Makefile.am
src/Makefile.am
+1
-1
socket.c
src/socket.c
+0
-2
spawn.c
src/spawn.c
+0
-2
win32.c
src/win32.c
+4
-1
win32defines.h
src/win32defines.h
+0
-32
No files found.
src/Makefile.am
Dosyayı görüntüle @
87496f65
...
...
@@ -149,7 +149,7 @@ WINDRES = $(host_alias)-windres
geany_private.res
:
$(top_srcdir)/geany_private.rc
$(WINDRES)
-i
$(top_srcdir)
/geany_private.rc
--input-format
=
rc
-o
$@
-O
coff
libgeany_la_SOURCES
+=
win32.c win32.h
win32defines.h
libgeany_la_SOURCES
+=
win32.c win32.h
libgeany_la_LIBADD
+=
-lole32
-lwsock32
-lcomdlg32
libgeany_la_LDFLAGS
+=
-Wl
,-luuid
-mwindows
-mms-bitfields
-no-undefined
geany_LDFLAGS
+=
-mwindows
-mms-bitfields
...
...
src/socket.c
Dosyayı görüntüle @
87496f65
...
...
@@ -57,8 +57,6 @@
#ifdef HAVE_SOCKET
#include "win32defines.h"
/* should always come before any system headers */
#include "socket.h"
#include "app.h"
...
...
src/spawn.c
Dosyayı görüntüle @
87496f65
...
...
@@ -47,8 +47,6 @@
# include "config.h"
#endif
#include "win32defines.h"
/* should always come before any system headers */
#include <errno.h>
#include <string.h>
...
...
src/win32.c
Dosyayı görüntüle @
87496f65
...
...
@@ -27,7 +27,10 @@
# include "config.h"
#endif
#include "win32defines.h"
/* should always come before any system headers */
/* Need Windows XP for SHGetFolderPathAndSubDirW */
#define _WIN32_WINNT 0x0501
/* Needed for SHGFP_TYPE */
#define _WIN32_IE 0x0500
#include "win32.h"
...
...
src/win32defines.h
deleted
100644 → 0
Dosyayı görüntüle @
0f5e379e
/*
* win32defines.h - this file is part of Geany, a fast and lightweight IDE
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef WIN32DEFINES_H
#define WIN32DEFINES_H 1
/* These defines are necessary defines *before* windows.h is included */
#define VC_EXTRALEAN
#define WIN32_LEAN_AND_MEAN
/* Need Windows XP for SHGetFolderPathAndSubDirW */
#define WINVER 0x0501
#define _WIN32_WINNT 0x0501
/* Needed for SHGFP_TYPE */
#define _WIN32_IE 0x0500
#endif
/* WIN32DEFINES_H */
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