Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Srashti Mittal
purr-data
Commits
7ad06c87
Commit
7ad06c87
authored
Jul 03, 2008
by
Miller Puckette
Browse files
fixed MSW compile errors
parent
acf61ca0
Changes
3
Hide whitespace changes
Inline
Side-by-side
extra/makefile
View file @
7ad06c87
...
...
@@ -6,7 +6,7 @@ pd_nt: $(NAME).dll
.SUFFIXES
:
.dll
PDNTCFLAGS
=
/W3 /WX /DNT /DPD /nologo
PDNTCFLAGS
=
/W3 /WX /DNT /DPD /nologo
-D_CRT_SECURE_NO_WARNINGS
# VC="C:\Program Files\Microsoft Visual Studio\Vc98"
VC
=
"C:
\P
rogram Files
\M
icrosoft Visual Studio 9.0
\V
C"
VSTK
=
"C:
\P
rogram Files
\M
icrosoft SDKs
\W
indows
\v
6.0A"
...
...
extra/sigmund~/sigmund~.c
View file @
7ad06c87
...
...
@@ -13,6 +13,9 @@
and usable in other contexts. The one external requirement is a real
single-precision FFT, invoked as in the Mayer one: */
#if (defined(NT) && defined(PD))
/* ignore this, it's just Microsoft nonsense */
__declspec
(
dllimport
)
extern
#endif
void
mayer_realfft
(
int
npoints
,
float
*
buf
);
/* this routine is passed a buffer of npoints values, and returns the
...
...
@@ -23,7 +26,7 @@ for example, defines this in the file d_fft_mayer.c or d_fft_fftsg.c. */
#include
<math.h>
#include
<stdio.h>
#include
<string.h>
#ifdef
MSW
#ifdef
NT
#include
<malloc.h>
#else
#include
<alloca.h>
...
...
src/u_pdreceive.c
View file @
7ad06c87
...
...
@@ -224,8 +224,8 @@ static int tcpmakeoutput(t_fdpoll *x, char *inbuf, int len)
#ifdef MSW
{
int
j
;
for
(
j
=
0
;
j
<
bp
-
messbuf
;
j
++
)
putchar
(
mess
buf
[
j
]);
for
(
j
=
0
;
j
<
outlen
;
j
++
)
putchar
(
out
buf
[
j
]);
}
#else
write
(
1
,
outbuf
,
outlen
);
...
...
Write
Preview
Supports
Markdown
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