This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* compile with: | |
on linux: gcc -g stack_traces.c | |
on OS X: gcc -g -fno-pie stack_traces.c | |
on windows: gcc -g stack_traces.c -limagehlp | |
*/ | |
#include <signal.h> | |
#include <stdio.h> | |
#include <assert.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extern "C" | |
{ | |
int _fltused; | |
#ifdef _M_IX86 // following functions are needed only for 32-bit architecture | |
__declspec(naked) void _ftol2() | |
{ | |
__asm | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Include/py_curses.h b/Include/py_curses.h | |
index 336c95d..0d87624 100644 | |
--- a/Include/py_curses.h | |
+++ b/Include/py_curses.h | |
@@ -17,6 +17,13 @@ | |
#define NCURSES_OPAQUE 0 | |
#endif /* __APPLE__ */ | |
+#ifdef __CYGWIN__ | |
+/* the following define is necessary for Cygwin; without it, the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace GitBuildInfo | |
{ | |
/// <summary> | |
/// A MSBuild task that generates the msbuild information for an assembly. | |
/// | |
/// Note: use in the BeforeBuild target. | |
/// </summary> | |
public class GitBuildInfoGenericTask : GitBuildInfoTask | |
{ | |
/// <inheritdoc/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Project Sdk="Microsoft.NET.Sdk"> | |
<!-- ... --> | |
<!-- Ref assembly NuGet packaging --> | |
<PropertyGroup> | |
<ProduceReferenceAssembly>true</ProduceReferenceAssembly> | |
<BuildOutputTargetFolder>ref</BuildOutputTargetFolder> | |
<TargetsForTfmSpecificBuildOutput>$(TargetsForTfmSpecificBuildOutput);UseRefAssemblyAsBuildOutputInPackage</TargetsForTfmSpecificBuildOutput> | |
</PropertyGroup> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TITLE main.asm | |
.686P | |
.XMM | |
include listing.inc | |
.model flat | |
INCLUDELIB LIBCMT | |
INCLUDELIB OLDNAMES | |
PUBLIC _memcpy |
dotnet GitHub Dashboard
dotnet is a free, cross-platform, open-source developer platform for building many different types of applications