mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 07:26:15 +01:00
*/.cvsignore: Add various Win32 related file types.
2001-11-24 Tor Lillqvist <tml@iki.fi> */.cvsignore: Add various Win32 related file types. gmodule: 2001-11-24 Tor Lillqvist <tml@iki.fi> * Makefile.am: Remove rule for testgmodule.exp, too. 2001-11-22 Tor Lillqvist <tml@iki.fi> * gmodule-win32.c: Current w32api headers do include tlhelp32.h, so no need to have an extract from it here.
This commit is contained in:
parent
bad5376d45
commit
d4a5eab30b
@ -1,10 +1,19 @@
|
|||||||
Makefile
|
Makefile
|
||||||
Makefile.in
|
Makefile.in
|
||||||
libglib-1.3.la
|
libglib-1.3.la
|
||||||
|
makefile.mingw
|
||||||
|
makefile.msc
|
||||||
|
glib.rc
|
||||||
|
gspawn-win32-helper
|
||||||
|
*-build.stamp
|
||||||
*.lo
|
*.lo
|
||||||
*.obj
|
*.obj
|
||||||
*.lib
|
*.lib
|
||||||
*.dll
|
*.dll
|
||||||
|
*.exp
|
||||||
|
*.ilk
|
||||||
|
*.pdb
|
||||||
|
*.res
|
||||||
*.exe
|
*.exe
|
||||||
.deps
|
.deps
|
||||||
.libs
|
.libs
|
||||||
|
@ -2,10 +2,14 @@
|
|||||||
*.obj
|
*.obj
|
||||||
*.lib
|
*.lib
|
||||||
*.dll
|
*.dll
|
||||||
|
*.exp
|
||||||
|
*.ilk
|
||||||
|
*.pdb
|
||||||
Makefile
|
Makefile
|
||||||
Makefile.in
|
Makefile.in
|
||||||
makefile.msc
|
makefile.msc
|
||||||
makefile.mingw
|
makefile.mingw
|
||||||
|
*-build.stamp
|
||||||
.deps
|
.deps
|
||||||
_libs
|
_libs
|
||||||
.libs
|
.libs
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
2001-11-24 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* Makefile.am: Remove rule for testgmodule.exp, too.
|
||||||
|
|
||||||
|
2001-11-22 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* gmodule-win32.c: Current w32api headers do include tlhelp32.h,
|
||||||
|
so no need to have an extract from it here.
|
||||||
|
|
||||||
Mon Nov 19 16:12:12 2001 Owen Taylor <otaylor@redhat.com>
|
Mon Nov 19 16:12:12 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* Makefile.am makefile.msc.in makefile.mingw.in: Remove
|
* Makefile.am makefile.msc.in makefile.mingw.in: Remove
|
||||||
|
@ -82,9 +82,6 @@ endif
|
|||||||
gmodule-1.3.lib: libgmodule-1.3.la gmodule.def
|
gmodule-1.3.lib: libgmodule-1.3.la gmodule.def
|
||||||
lib -name:libgmodule-1.3-@LT_CURRENT_MINUS_AGE@.dll -def:gmodule.def -out:$@
|
lib -name:libgmodule-1.3-@LT_CURRENT_MINUS_AGE@.dll -def:gmodule.def -out:$@
|
||||||
|
|
||||||
testgmodule.exp: testgmodule.o
|
|
||||||
dlltool --output-exp testgmodule.exp testgmodule.o
|
|
||||||
|
|
||||||
gmodule.rc: $(top_builddir)/config.status $(top_srcdir)/gmodule/gmodule.rc.in
|
gmodule.rc: $(top_builddir)/config.status $(top_srcdir)/gmodule/gmodule.rc.in
|
||||||
cd $(top_builddir) && CONFIG_FILES=gmodule/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
cd $(top_builddir) && CONFIG_FILES=gmodule/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||||
|
|
||||||
|
@ -34,38 +34,12 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
||||||
#ifdef __MSVC__
|
|
||||||
#include <tlhelp32.h>
|
#include <tlhelp32.h>
|
||||||
#else
|
|
||||||
|
|
||||||
#ifdef G_WITH_CYGWIN
|
#ifdef G_WITH_CYGWIN
|
||||||
#include <sys/cygwin.h>
|
#include <sys/cygwin.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* The w32api headers supplied with the mingw gcc don't have
|
|
||||||
* tlhelp32.h. We really only need the MODULEENTRY32 struct and the
|
|
||||||
* TH32CS_SNAPMODULE value, so provide them here.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#define MAX_MODULE_NAME32 255
|
|
||||||
|
|
||||||
typedef struct
|
|
||||||
{
|
|
||||||
DWORD dwSize;
|
|
||||||
DWORD th32ModuleID;
|
|
||||||
DWORD th32ProcessID;
|
|
||||||
DWORD GlblcntUsage;
|
|
||||||
DWORD ProccntUsage;
|
|
||||||
BYTE *modBaseAddr;
|
|
||||||
DWORD modBaseSize;
|
|
||||||
HMODULE hModule;
|
|
||||||
char szModule[MAX_MODULE_NAME32 + 1];
|
|
||||||
char szExePath[MAX_PATH];
|
|
||||||
} MODULEENTRY32;
|
|
||||||
#define TH32CS_SNAPMODULE 8
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
set_error (void)
|
set_error (void)
|
||||||
{
|
{
|
||||||
|
@ -2,11 +2,16 @@
|
|||||||
*.obj
|
*.obj
|
||||||
*.lib
|
*.lib
|
||||||
*.dll
|
*.dll
|
||||||
|
*.exp
|
||||||
|
*.ilk
|
||||||
|
*.pdb
|
||||||
*.exe
|
*.exe
|
||||||
|
*.res
|
||||||
Makefile
|
Makefile
|
||||||
Makefile.in
|
Makefile.in
|
||||||
makefile.msc
|
makefile.msc
|
||||||
makefile.mingw
|
makefile.mingw
|
||||||
|
*-build.stamp
|
||||||
.deps
|
.deps
|
||||||
_libs
|
_libs
|
||||||
.libs
|
.libs
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
Makefile.in
|
Makefile.in
|
||||||
makefile.mingw
|
makefile.mingw
|
||||||
|
*-build.stamp
|
||||||
makefile.msc
|
makefile.msc
|
||||||
Makefile
|
Makefile
|
||||||
.deps
|
.deps
|
||||||
@ -8,6 +9,10 @@ Makefile
|
|||||||
*.obj
|
*.obj
|
||||||
*.lib
|
*.lib
|
||||||
*.dll
|
*.dll
|
||||||
|
*.exp
|
||||||
|
*.res
|
||||||
|
*.ilk
|
||||||
|
*.pdb
|
||||||
.libs
|
.libs
|
||||||
*.la
|
*.la
|
||||||
so_locations
|
so_locations
|
||||||
|
@ -2,6 +2,9 @@
|
|||||||
*.obj
|
*.obj
|
||||||
*.lib
|
*.lib
|
||||||
*.dll
|
*.dll
|
||||||
|
*.exp
|
||||||
|
*.base
|
||||||
|
*.res
|
||||||
*.exe
|
*.exe
|
||||||
.deps
|
.deps
|
||||||
.libs
|
.libs
|
||||||
|
Loading…
Reference in New Issue
Block a user